Skip to content

Commit 1ba4e57

Browse files
committed
ci: update github workflow
1 parent 492dbcd commit 1ba4e57

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,22 @@ on:
77
push:
88
branches: [main]
99
pull_request:
10-
branches: [main]
1110

1211
jobs:
1312
build:
1413
runs-on: ubuntu-latest
1514

1615
strategy:
1716
matrix:
18-
node-version: [14, 16, 18]
17+
node-version: [18, 20]
1918

2019
steps:
21-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2221
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v4
2423
with:
2524
node-version: ${{ matrix.node-version }}
26-
- run: npm install
25+
- run: npm ci
2726
- run: npm test
2827
env:
2928
CI: true

0 commit comments

Comments
 (0)