Skip to content

Commit

Permalink
chore: add test:ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
gtoselli committed Apr 8, 2024
1 parent c9ffb61 commit 4bc09db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: pnpm run build

- name: Test
run: pnpm run test:coverage
run: pnpm run test:ci

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"build": "pnpm run -r build",
"test": "pnpm run -r test",
"test:ci": "pnpm run -r test:ci",
"test:coverage": "pnpm run -r test:coverage",
"prepare": "husky install",
"check": "pnpm run -r check",
Expand Down
1 change: 1 addition & 0 deletions packages/ddd-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"build": "rimraf dist && tsc --project tsconfig.build.json",
"test": "jest",
"test:ci": "jest --coverage --runInBand",
"test:coverage": "jest --coverage",
"check": "cspell lint --quiet src",
"prepublishOnly": "pnpm run build"
Expand Down

0 comments on commit 4bc09db

Please sign in to comment.