Skip to content

Commit

Permalink
expand test versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZJONSSON committed Apr 16, 2024
1 parent 2416da8 commit 5067f1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
- run: npm install
- run: npm run build --if-present
- run: npm test
- run: npx lcov-badge2 .tap/report/lcov.info -o .tap/report/badge.svg
- run: npx lcov-badge2 coverage/lcov.info -o coverage/lcov-report/badge.svg
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: '.tap/report'
path: 'coverage/locv-report'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [ 10.x, 12.x, 14.x, 16.x, 17.x, 18.x, 19.x]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"iconv-lite": "^0.4.24",
"request": "^2.88.0",
"stream-buffers": ">= 0.2.5 < 1",
"tap": "^18.7.2",
"tap": "^12.7.0",
"temp": ">= 0.4.0 < 1"
},
"directories": {
Expand All @@ -53,6 +53,6 @@
],
"main": "unzip.js",
"scripts": {
"test": "npx tap --coverage-report=lcov --coverage-report=html --allow-incomplete-coverage"
"test": "npx tap test/*.js --coverage-report=html"
}
}

0 comments on commit 5067f1f

Please sign in to comment.