Skip to content

Commit

Permalink
deps: Updates vitest to 1.0.4 (#318)
Browse files Browse the repository at this point in the history
* deps: Updates to next stable version of vitest

* docs: Fix docs to use correct dot notation
  • Loading branch information
davelosert authored Dec 17, 2023
1 parent 3aeef60 commit 1bf61ac
Show file tree
Hide file tree
Showing 4 changed files with 578 additions and 284 deletions.
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

0 comments on commit 1bf61ac

Please sign in to comment.