Skip to content

Commit

Permalink
ci: use npm script for test:coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbutt committed Feb 25, 2024
1 parent 781b464 commit 9959fd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: pnpm lint

- name: Test
run: pnpm test --coverage --maxWorkers=2
run: pnpm test:coverage

- name: Cache Coverage
id: cache-coverage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"build": "tsup",
"pretest": "pnpm resolve:crcomlib",
"test": "vitest --passWithNoTests",
"test:coverage": "pnpm clean:coverage && pnpm resolve:crcomlib && vitest --passWithNoTests --coverage",
"test:coverage": "pnpm clean:coverage && pnpm resolve:crcomlib && vitest --passWithNoTests --coverage --maxWorkers=2",
"lint": "tsc && eslint . --fix",
"prepare": "husky",
"size": "size-limit",
Expand Down

0 comments on commit 9959fd7

Please sign in to comment.