Skip to content

Commit

Permalink
Add support to Node20 (#58)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
matteovivona committed Feb 7, 2024
1 parent fca85a5 commit e995f15
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
run-build-test:
strategy:
matrix:
version: [ 16, 18, 20 ]
version: [ 18, 20 ]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: |
yarn
yarn build:once
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/run-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn # Install all dependencies
- uses: ./
id: store-variables
Expand All @@ -29,6 +32,9 @@ jobs:
needs: run-integration-test1
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn # Install all dependencies
- uses: ./
with:
Expand All @@ -46,6 +52,9 @@ jobs:
needs: run-integration-test2
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn # Install all dependencies
- uses: ./
with:
Expand All @@ -63,6 +72,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn # Install all dependencies
- uses: ./
with:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ inputs:
required: false
default: 'false'
runs:
using: 'node16'
using: 'node20'
main: 'github-action-runtime/index.js'

0 comments on commit e995f15

Please sign in to comment.