From c92be36a82cc6726249934120fad61a69a85216f Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Thu, 11 Jan 2024 08:38:39 +0100 Subject: [PATCH] Don't run webpack as precommit script It runs in the CI --- .github/workflows/ci.yml | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6457ede..f5dff7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/package.json b/package.json index 1a6ca8c..bb3d0da 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "license": "MIT", "packageManager": "yarn@4.0.1", "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",