Skip to content

Commit b7cacff

Browse files
committed
chore(tools): fix test script in ci
1 parent 21c6147 commit b7cacff

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
CLIENT_ID: ${{ secrets.CLIENT_ID }}
4545

4646
- name: Run tests
47-
run: npm test
47+
run: npm test:ci
4848

4949
- name: Package artifact
5050
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ jobs:
4242
CLIENT_ID: ${{ secrets.CLIENT_ID }}
4343

4444
- name: Run tests
45-
run: npm test
45+
run: npm test:ci
4646

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"check:fix": "biome check --write .",
1919
"typecheck": "tsc --noEmit",
2020
"test": "pnpm run build:dev && node --test dist/**/*.test.js",
21+
"test:ci": "npm run build:ci && node --test dist/**/*.test.js",
2122
"prepare": "husky",
2223
"pre-commit": "lint-staged"
2324
},

0 commit comments

Comments
 (0)