Skip to content

Commit 8f67c1a

Browse files
s3cubecokerrdSatej Sawant
authored
fix: upgrade Node.js runtime to node24 (#852)
* chore:upgrade to node 24 to remove deprecation warnings * fix: add setup-node@v4 with node 24 to CI workflows --------- Co-authored-by: Coker Richard <82083946+cokerrd@users.noreply.github.com> Co-authored-by: Satej Sawant <satejs@amazon.com>
1 parent c1035d8 commit 8f67c1a

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v4
12+
- name: Node setup
13+
uses: actions/setup-node@v4
14+
with:
15+
node-version: 24
1216
- name: Run tests
1317
run: |
1418
npm ci

.github/workflows/package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
run: gh pr checkout ${{ github.event.pull_request.number }}
21+
- name: Node setup
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 24
2125
- name: Package
2226
run: |
2327
npm ci

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ outputs:
105105
description: 'The ARN(s) of the task(s) that were started by the run-task option. Output is in an array JSON format.'
106106

107107
runs:
108-
using: 'node20'
108+
using: 'node24'
109109
main: 'dist/index.js'

0 commit comments

Comments
 (0)