Skip to content

Commit

Permalink
ci: remove Gitter workflow, swap nyc for c8 coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Oct 16, 2023
1 parent 046770e commit b7a482a
Show file tree
Hide file tree
Showing 6 changed files with 305 additions and 1,172 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/gitter.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
node: ['12.0', '14.0', '16.0']
node: ['14.14.0', '16.0', '18.0', '20.0']
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -54,10 +54,10 @@ jobs:

- run: npm install
- run: npm test
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16.0'
- if: matrix.os == 'ubuntu-latest' && matrix.node == '20.0'
run: npm run coverage
- if: matrix.os == 'ubuntu-latest' && matrix.node == '16.0'
uses: coverallsapp/github-action@1.1.3
- if: matrix.os == 'ubuntu-latest' && matrix.node == '20.0'
uses: coverallsapp/github-action@v2
with:
github-token: ${{ github.token }}
path-to-lcov: ./coverage.info
file: ./coverage.info
format: lcov
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ npm-debug.log*
.npm
*.tgz
.eslintcache
.nyc_output
coverage
coverage.info
test/fixtures/*/build
node_modules
lib/*.*js
lib
!lib/*.d.ts
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
test/fixtures/**
.nyc_output/**
coverage/**
package-lock.json
lib
Loading

0 comments on commit b7a482a

Please sign in to comment.