File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 - run : npm ci
3232 - run : npm run format:check
3333 - run : npm run lint
34- - run : npm run ci- test
34+ - run : npm test
3535
3636 test-action-basic :
3737 name : GitHub Actions Test (Basic)
Original file line number Diff line number Diff line change 2121
2222 - run : npm ci
2323
24- - run : npm run ci- test -- --coverage
24+ - run : npm test -- --coverage
2525
2626 - name : Upload results to Codecov
2727 uses : codecov/codecov-action@v6
Original file line number Diff line number Diff line change 2121 "lint" : " npx eslint 'src/**/*.ts'" ,
2222 "format:write" : " npx prettier --write ." ,
2323 "format:check" : " npx prettier --check ." ,
24- "test" : " vitest run" ,
25- "ci-test" : " vitest run --singleFork"
24+ "test" : " vitest run"
2625 },
2726 "homepage" : " https://github.com/ryancyq/github-signed-commit#readme" ,
2827 "dependencies" : {
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ export default defineConfig({
55 environment : 'node' ,
66 testTimeout : 5000 ,
77 include : [ '__tests__/**/*.test.ts' ] ,
8+ poolOptions : {
9+ forks : {
10+ singleFork : ! ! process . env . CI ,
11+ } ,
12+ } ,
813 coverage : {
914 include : [ 'src/**/*.ts' ] ,
1015 reportsDirectory : 'coverage' ,
You can’t perform that action at this time.
0 commit comments