Skip to content

Commit

Permalink
Don't run webpack as precommit script
Browse files Browse the repository at this point in the history
It runs in the CI
  • Loading branch information
rubensworks committed Jan 11, 2024
1 parent fcbaf4e commit c92be36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
- name: Build project
run: yarn run build
- name: Run tests
run: yarn run test
run: yarn run test:jest
- name: Run webpack
run: yarn run test:webpack
- name: Submit coverage results
uses: coverallsapp/github-action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"packageManager": "[email protected]",
"scripts": {
"test": "yarn test:jest && yarn test:webpack",
"test": "yarn test:jest",
"test:jest": "jest",
"test:webpack": "yarn test:webpack:node && yarn test:webpack:web",
"test:webpack:node": "webpack -c test/webpack/webpack.config.js && node test/webpack/build/test.min.js",
Expand Down

0 comments on commit c92be36

Please sign in to comment.