Skip to content

Commit 087fcd9

Browse files
committed
ci: fix invalid test script invoked
1 parent 0f2754a commit 087fcd9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
node-version-file: '.nvmrc'
1717
- run: npm ci
1818
- run: npm run build --if-present
19-
- run: npm test --if-present
19+
- run: npm run test:coverage --if-present
2020
- run: npx semantic-release
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"deploy": "gh-pages -d build",
99
"start": "NODE_ENV=development webpack serve",
1010
"build": "NODE_ENV=production webpack",
11-
"test": "jest test --watch",
11+
"test": "jest",
12+
"test:watch": "jest test --watch",
1213
"test:coverage": "jest test --coverage . --silent",
1314
"prepare": "husky install",
1415
"pre-commit": "lint-staged",

0 commit comments

Comments
 (0)