Skip to content

Commit

Permalink
Update test deps and node test versions (#40)
Browse files Browse the repository at this point in the history
* Update test deps and node test versions
  • Loading branch information
samclarke authored Oct 28, 2024
1 parent bc137a4 commit 9fc5187
Show file tree
Hide file tree
Showing 3 changed files with 853 additions and 1,134 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
name: test
on:
pull_request:
branches:
- master
push:
branches:
- master
pull_request:
branches:
- master
push:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
node: [ '12', '14', '15' ]
name: Node ${{ matrix.node }} test
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
node: ['18', '20', '22', '23']
name: Node ${{ matrix.node }} test
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.node }}
parallel: true
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.node }}
parallel: true

finish:
name: Coveralls coverage
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
finish:
name: Coveralls coverage
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
Loading

0 comments on commit 9fc5187

Please sign in to comment.