Skip to content

Commit

Permalink
test: Optimize tests execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Ldoppea committed Jan 15, 2025
1 parent 7201534 commit 98c82cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Lint
run: yarn lint
- name: Test
run: yarn test
run: yarn test:ci
- name: Build
run: yarn build
- name: BundleMon
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"tx": "tx pull --all || true",
"lint": "npm-run-all --parallel 'lint:*'",
"lint:js": "eslint '{src,test}/**/*.{js,jsx,ts,tsx}'",
"test": "env NODE_ENV='test' jest",
"test": "env NODE_ENV='test' jest --maxWorkers=50%",
"test:ci": "env NODE_ENV='test' jest --runInBand",
"version": "yarn version:manifest",
"version:manifest": "replace '\\d+\\.\\d+\\.\\d+' $npm_package_version ./manifest.webapp",
"service": "yarn cozy-konnector-dev -m ./manifest.webapp"
Expand Down

0 comments on commit 98c82cd

Please sign in to comment.