Skip to content

Commit c92be36

Browse files
committed
Don't run webpack as precommit script
It runs in the CI
1 parent fcbaf4e commit c92be36

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ jobs:
4646
- name: Build project
4747
run: yarn run build
4848
- name: Run tests
49-
run: yarn run test
49+
run: yarn run test:jest
50+
- name: Run webpack
51+
run: yarn run test:webpack
5052
- name: Submit coverage results
5153
uses: coverallsapp/github-action@master
5254
with:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"license": "MIT",
2222
"packageManager": "[email protected]",
2323
"scripts": {
24-
"test": "yarn test:jest && yarn test:webpack",
24+
"test": "yarn test:jest",
2525
"test:jest": "jest",
2626
"test:webpack": "yarn test:webpack:node && yarn test:webpack:web",
2727
"test:webpack:node": "webpack -c test/webpack/webpack.config.js && node test/webpack/build/test.min.js",

0 commit comments

Comments
 (0)