Skip to content

Commit 21fb57e

Browse files
committed
Update for github actions
1 parent 7daf375 commit 21fb57e

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
name: CI
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
branches:
9-
- master
4+
- push
5+
- pull_request
106

117
jobs:
128
test:
13-
9+
name: Node.js ${{ matrix.node-version }}
1410
runs-on: ubuntu-latest
1511

1612
strategy:
1713
fail-fast: false
1814
matrix:
19-
node-version: [12.x, 14.x, 16.x]
15+
node-version:
16+
- 18
17+
- 16
18+
- 14
2019

2120
steps:
22-
- uses: actions/checkout@v2
23-
- name: Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v2
21+
- uses: actions/checkout@v3
22+
- uses: actions/setup-node@v3
2523
with:
2624
node-version: ${{ matrix.node-version }}
2725
- run: npm install

0 commit comments

Comments
 (0)