Skip to content

Commit 924bded

Browse files
committed
Update node version in actions
1 parent 6e339ff commit 924bded

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/nodejs.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- name: Use Node.js
11-
uses: actions/setup-node@v1
12-
with:
13-
node-version: '16.x'
14-
- run: npm install
15-
- run: npm run build
16-
- run: npm test
17-
env:
18-
CI: true
19-
9+
- uses: actions/checkout@v3
10+
- name: Use Node.js
11+
uses: actions/setup-node@v4
12+
with:
13+
node-version: 20
14+
cache: npm
15+
- run: npm install
16+
- run: npm run build
17+
- run: npm test
18+
env:
19+
CI: true

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
15+
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 14
17+
node-version: 20
1818
registry-url: https://registry.npmjs.org/
1919
cache: npm
2020
- run: npm ci

0 commit comments

Comments
 (0)