Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Nov 1, 2024
1 parent 31ea069 commit 4db7075
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
# Step 5: Run tests for all packages
- name: Run tests
run: |
pnpm run test
pnpm run test:actions
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"build:ioc": "pnpm -F @nailyjs/ioc build",
"lint": "eslint .",
"postinstall": "npx simple-git-hooks",
"test": "vitest --ui --coverage"
"test": "vitest --ui --coverage",
"test:actions": "cross-env GITHUB_ACTIONS=true vitest --ui --coverage"
},
"devDependencies": {
"@antfu/eslint-config": "^3.7.3",
Expand All @@ -22,6 +23,7 @@
"@vitest/coverage-v8": "^2.1.4",
"@vitest/ui": "2.1.4",
"bumpp": "^9.7.1",
"cross-env": "^7.0.3",
"eslint": "^9.12.0",
"js-yaml": "^4.1.0",
"lint-staged": "^15.2.10",
Expand Down
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4db7075

Please sign in to comment.