Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47bc917

Browse files
committed
Specify Node 20 in workflows and examples
1 parent 84ab08f commit 47bc917

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/check-dist.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v3
2222

23-
- name: Set Node.js 16.x
24-
uses: actions/setup-node@v3
23+
- uses: actions/setup-node@v3
2524
with:
26-
node-version: 16.x
25+
node-version: '20.x'
2726
cache: npm
2827

2928
- name: Install dependencies

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version: 16
16+
node-version: '20.x'
1717
cache: npm
1818
- run: npm ci
1919
- run: npm run style:check

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ jobs:
382382
- uses: actions/checkout@v3
383383
- uses: actions/setup-node@v3
384384
with:
385-
node-version: 16
385+
node-version: '20.x'
386386
- run: npm ci
387387
# or one-off:
388388
- run: npm install execa

0 commit comments

Comments
 (0)