Skip to content

Commit 23b24ce

Browse files
committed
Update CI workflow commands
1 parent fbe54e9 commit 23b24ce

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ jobs:
6666
run: npm ci
6767

6868
- name: Build Current Binary
69-
run: npm run build
69+
run: npm run build:rebuild
7070

7171
- name: Get Package Version
7272
id: package-version
7373
run: node -p "'version='+require('./package').version" >> $GITHUB_OUTPUT
7474

7575
- name: Pack Files
7676
id: pack-files
77-
run: node -e "require('@node-3d/addon-tools').actionPack()" >> $GITHUB_OUTPUT
77+
run: node -e "import('@node-3d/addon-tools').then((m) => m.actionPack())" >> $GITHUB_OUTPUT
7878

7979
- name: Store Binaries
8080
uses: softprops/action-gh-release@v3

.github/workflows/cpplint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ jobs:
4242

4343
- name: Run Cpplint
4444
run: |
45-
node -e "require('@node-3d/addon-tools').cpcpplint()"
45+
node -e "import('@node-3d/addon-tools').then((m) => m.cpcpplint())"
4646
cpplint --recursive ./src/cpp

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
run: npm ci
3434

3535
- name: Run Lint
36-
run: npm run lint
36+
run: npm run lint:all

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: npm ci
3838

3939
- name: Build Current Binary
40-
run: npm run build
40+
run: npm run build:rebuild
4141

4242
- name: Audio Device - Unix
4343
if: matrix.os != 'windows-2022'
@@ -59,4 +59,4 @@ jobs:
5959
C:\Scream\Install\helpers\devcon install Scream.inf *Scream
6060
6161
- name: Run Unit Tests
62-
run: npm test
62+
run: npm run test:ci

0 commit comments

Comments
 (0)