Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vitest to 1.0.4 #318

Merged
merged 2 commits into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default defineConfig({
});
```

Then execute `npx vitest --coverage` in a step before this action.
Then execute `npx vitest --coverage.enabled true` in a step before this action.

### Example Workflow

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- name: 'Install Deps'
run: npm install
- name: 'Test'
run: npx vitest --coverage
run: npx vitest --coverage.enabled true
- name: 'Report Coverage'
# Set if: always() to also generate the report if tests are failing
# Only works if you set `reportOnFailure: true` in your vite config as specified above
Expand Down Expand Up @@ -213,7 +213,7 @@ It will then automatically locate the appropriate pull request to comment on.
- name: "Install Deps"
run: npm install
- name: "Test"
run: npx vitest --coverage
run: npx vitest --coverage.enabled true

- name: "Upload Coverage"
uses: actions/upload-artifact@v4
Expand Down
Loading