Skip to content

Commit 9fc5187

Browse files
authored
Update test deps and node test versions (#40)
* Update test deps and node test versions
1 parent bc137a4 commit 9fc5187

File tree

3 files changed

+853
-1134
lines changed

3 files changed

+853
-1134
lines changed

.github/workflows/test.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
name: test
22
on:
3-
pull_request:
4-
branches:
5-
- master
6-
push:
7-
branches:
8-
- master
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
99

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

27-
- name: Coveralls Parallel
28-
uses: coverallsapp/github-action@master
29-
with:
30-
github-token: ${{ secrets.github_token }}
31-
flag-name: run-${{ matrix.node }}
32-
parallel: true
27+
- name: Coveralls Parallel
28+
uses: coverallsapp/github-action@master
29+
with:
30+
github-token: ${{ secrets.github_token }}
31+
flag-name: run-${{ matrix.node }}
32+
parallel: true
3333

34-
finish:
35-
name: Coveralls coverage
36-
needs: test
37-
runs-on: ubuntu-latest
38-
steps:
39-
- name: Coveralls Finished
40-
uses: coverallsapp/github-action@master
41-
with:
42-
github-token: ${{ secrets.github_token }}
43-
parallel-finished: true
34+
finish:
35+
name: Coveralls coverage
36+
needs: test
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Coveralls Finished
40+
uses: coverallsapp/github-action@master
41+
with:
42+
github-token: ${{ secrets.github_token }}
43+
parallel-finished: true

0 commit comments

Comments
 (0)