Skip to content

Commit cb63b1c

Browse files
authored
fix: use Node 16 as runner (#531)
1 parent 9dc5341 commit cb63b1c

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
- uses: actions/checkout@v3
1717
with:
1818
persist-credentials: false
19+
- uses: actions/setup-node@v3
20+
with:
21+
node-version: 16
22+
cache: npm
1923
- run: date > test.txt
2024
- run: npm ci
2125
- run: npm run build
@@ -42,6 +46,10 @@ jobs:
4246
- uses: actions/checkout@v3
4347
with:
4448
persist-credentials: false
49+
- uses: actions/setup-node@v3
50+
with:
51+
node-version: 16
52+
cache: npm
4553
- run: date > test.txt
4654
- run: npm ci
4755
- run: npm run build
@@ -80,6 +88,10 @@ jobs:
8088
- uses: actions/checkout@v3
8189
with:
8290
persist-credentials: false
91+
- uses: actions/setup-node@v3
92+
with:
93+
node-version: 16
94+
cache: npm
8395
- run: date > file1.txt
8496
- run: date > file2.txt
8597
- run: npm ci
@@ -137,6 +149,10 @@ jobs:
137149
- uses: actions/checkout@v3
138150
with:
139151
persist-credentials: false
152+
- uses: actions/setup-node@v3
153+
with:
154+
node-version: 16
155+
cache: npm
140156
- run: date > test.txt
141157
- run: npm ci
142158
- run: npm run build
@@ -162,6 +178,10 @@ jobs:
162178
- uses: actions/checkout@v3
163179
with:
164180
persist-credentials: false
181+
- uses: actions/setup-node@v3
182+
with:
183+
node-version: 16
184+
cache: npm
165185
- run: date > .github/test.txt
166186
- run: npm ci
167187
- run: npm run build
@@ -178,6 +198,10 @@ jobs:
178198
- uses: actions/checkout@v3
179199
with:
180200
persist-credentials: false
201+
- uses: actions/setup-node@v3
202+
with:
203+
node-version: 16
204+
cache: npm
181205
- run: date > test.txt
182206
- run: npm ci
183207
- run: npm run build
@@ -243,6 +267,10 @@ jobs:
243267
- uses: actions/checkout@v3
244268
with:
245269
persist-credentials: false
270+
- uses: actions/setup-node@v3
271+
with:
272+
node-version: 16
273+
cache: npm
246274
- run: date > test.txt
247275
- run: npm ci
248276
- run: npm run build

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ outputs:
5757
description: "'updated', 'created', 'unchanged' based if the PR was created, updated or nothing happened"
5858

5959
runs:
60-
using: "node12"
60+
using: "node16"
6161
main: "dist/index.js"

0 commit comments

Comments
 (0)