We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9956e10 commit 4e7e737Copy full SHA for 4e7e737
1 file changed
.github/workflows/ci.yml
@@ -1,6 +1,6 @@
1
-name: Codecov CI with Vitest (fully dynamic build)
+name: Codecov CI with Vitest (final fully portable version)
2
3
-on: [push]
+on: [push, pull_request]
4
5
jobs:
6
test:
@@ -20,8 +20,9 @@ jobs:
20
npm init -y
21
npm install vitest@1.6.1 @vitest/coverage-v8@1.6.1
22
23
- - name: Add test script to package.json
24
- run: npm set-script test "vitest run --coverage"
+ - name: Add test script manually
+ run: |
25
+ jq '.scripts.test="vitest run --coverage"' package.json > tmp.json && mv tmp.json package.json
26
27
- name: Create vitest.config.ts
28
run: |
0 commit comments