Skip to content
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
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
node: [18]

steps:
Expand All @@ -37,9 +37,10 @@ jobs:
run: pnpm prepack

- name: Test built module
run: pnpm test -- --coverage
run: pnpm test

- name: Coverage
if: matrix.os != 'windows-latest'
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"prepack": "nuxt-module-build build",
"lint": "eslint --fix . && prettier --write '**/*.{js,ts,md,vue}'",
"test": "vitest run",
"test": "vitest run --coverage",
"release": "bumpp && npm publish"
},
"dependencies": {
Expand Down