Skip to content

Commit 7c17b06

Browse files
committed
ci: upgrade GitHub Actions to Node.js 24-compatible versions
- actions/checkout v4 → v6.0.2 - actions/cache v4.2.0 → v5.0.3 - actions/setup-node v4 → v6.3.0 - actions/github-script v6/v7 → v8.0.0 - actions/upload-artifact v4.5.0 → v7.0.0 - actions/dependency-review-action v4.7.1 → v4.9.0 Node.js 20 actions are deprecated and will be forced to Node.js 24 starting June 2nd, 2026.
1 parent c0dc6d4 commit 7c17b06

33 files changed

+50
-50
lines changed

.github/actions/load-verdaccio-with-amplify-js/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ runs:
5454
yarn info aws-amplify@unstable description
5555
npm info aws-amplify@unstable version
5656
- name: Upload artifact
57-
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
57+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
5858
if: failure()
5959
with:
6060
name: ${{ inputs.test_name }}-npm-log

.github/actions/node-and-build/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ runs:
88
using: 'composite'
99
steps:
1010
- name: Setup Node.js
11-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
11+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
1212
with:
1313
node-version: 24
1414
env:
1515
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
16-
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
16+
- uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
1717
id: cache-build-artifacts
1818
with:
1919
path: |

.github/actions/set-status/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
steps:
2525
- name: Set a commit status
2626
id: set-status
27-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 https://github.com/actions/github-script/commit/60a0d83039c74a4aee543508d2ffcb1c3799cdea
27+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
2828
env:
2929
status_context: ${{ inputs.context }}
3030
description: ${{ inputs.description }}

.github/actions/setup-samples-staging/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: Create cache
13-
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
13+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
1414
id: cache-samples-staging-build
1515
with:
1616
key: aws-amplify-js-samples-staging-build-${{ github.sha }}
@@ -20,7 +20,7 @@ runs:
2020
env:
2121
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
2222
- name: Checkout staging repo
23-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
repository: ${{ github.repository_owner }}/amplify-js-samples-staging
2626
path: amplify-js-samples-staging

.github/workflows/aws-amplify-dependency-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
13+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414
with:
1515
persist-credentials: true
1616
- name: Determine if "aws-amplify" package.json has been changed
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
files: packages/aws-amplify/package.json
2121
- name: Write a PR comment
22-
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 https://github.com/actions/github-script/commit/98814c53be79b1d30f795b907e553d8679345975
22+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
2323
if: steps.aws-amplify-package-check.outputs.any_changed == 'true'
2424
with:
2525
script: |

.github/workflows/callable-bundle-size-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
11+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212
with:
1313
path: amplify-js
1414
- name: Setup node and build the repository

.github/workflows/callable-canary-e2e-runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: checkout AmplifyJs
12-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
12+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1313
with:
1414
path: amplify-js
1515
- name: read canary config files

.github/workflows/callable-canary-e2e-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353

5454
steps:
5555
- name: Checkout repository
56-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
56+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5757
with:
5858
# Minimal depth 2 so we can checkout the commit before possible merge commit.
5959
fetch-depth: 2
6060
path: amplify-js
6161
- name: Setup Node.js
62-
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
62+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
6363
with:
6464
node-version: 24
6565
env:
@@ -134,7 +134,7 @@ jobs:
134134
working-directory: amplify-js-samples-staging
135135
shell: bash
136136
- name: Upload artifact
137-
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
137+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
138138
if: failure()
139139
with:
140140
name: ${{ inputs.test_name }}

.github/workflows/callable-canary-sampleapp-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
# Minimal depth 2 so we can checkout the commit before possible merge commit.
2626
fetch-depth: 2

.github/workflows/callable-dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: 'Checkout Repository'
17-
uses: actions/checkout@e2a5a1afd5d7305b13671410c52a31819ab9fad9 # v4.0.0 https://github.com/actions/checkout/commit/e2a5a1afd5d7305b13671410c52a31819ab9fad9
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
- name: 'Dependency Review'
19-
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1 https://github.com/actions/dependency-review-action/commit/[hash]
19+
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
2020
with:
2121
config-file: '.github/dependency-review/dependency-review-config.yml'

0 commit comments

Comments
 (0)