Skip to content

Commit e995f15

Browse files
authored
Add support to Node20 (#58)
* Add support to Node20 * Remove Node16 support on pipeline * Install Node20 on build workflow * Install Node20 on test workflows * Remove engine option from package.json
1 parent fca85a5 commit e995f15

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

.github/workflows/check-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ jobs:
1313
run-build-test:
1414
strategy:
1515
matrix:
16-
version: [ 16, 18, 20 ]
16+
version: [ 18, 20 ]
1717
runs-on: ubuntu-22.04
1818
steps:
1919
- uses: actions/checkout@v3
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: '20'
2023
- run: |
2124
yarn
2225
yarn build:once

.github/workflows/run-integration-test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
runs-on: ubuntu-22.04
1515
steps:
1616
- uses: actions/checkout@v3
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
1720
- run: yarn # Install all dependencies
1821
- uses: ./
1922
id: store-variables
@@ -29,6 +32,9 @@ jobs:
2932
needs: run-integration-test1
3033
steps:
3134
- uses: actions/checkout@v3
35+
- uses: actions/setup-node@v4
36+
with:
37+
node-version: '20'
3238
- run: yarn # Install all dependencies
3339
- uses: ./
3440
with:
@@ -46,6 +52,9 @@ jobs:
4652
needs: run-integration-test2
4753
steps:
4854
- uses: actions/checkout@v3
55+
- uses: actions/setup-node@v4
56+
with:
57+
node-version: '20'
4958
- run: yarn # Install all dependencies
5059
- uses: ./
5160
with:
@@ -63,6 +72,9 @@ jobs:
6372
runs-on: ubuntu-22.04
6473
steps:
6574
- uses: actions/checkout@v3
75+
- uses: actions/setup-node@v4
76+
with:
77+
node-version: '20'
6678
- run: yarn # Install all dependencies
6779
- uses: ./
6880
with:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v20

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ inputs:
1616
required: false
1717
default: 'false'
1818
runs:
19-
using: 'node16'
19+
using: 'node20'
2020
main: 'github-action-runtime/index.js'

0 commit comments

Comments
 (0)