diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04500d5e0..88aee5c25 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,7 +52,7 @@ jobs: run: yarn build - name: Run unit tests - run: yarn test --maxWorkers=2 + run: yarn test:unit --maxWorkers=2 env: NODE_OPTIONS: --max_old_space_size=4096 diff --git a/package.json b/package.json index 85061f87f..449e4b387 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "react-scripts/workbox-webpack-plugin/workbox-build/@surma/rollup-plugin-off-main-thread/ejs": "3.1.6" }, "scripts": { - "test": "yarn run jest", + "test:unit": "yarn run jest", "styleguide": "cross-env FAST_REFRESH=false styleguidist server", "styleguide:build": "styleguidist build", "postinstall": "yarn run build",