Skip to content

Commit 1fa9324

Browse files
fix(ci-cd): bump github actions to node 24 runtimes (#168)
Clears the Node runtime deprecation annotations on GitHub Actions runs by moving every first-party action to a major that declares using: node24. - bump actions/checkout from v3 to v5 in main, release, sync-docs and trivy - bump actions/setup-node from v3 to v5 in main - bump actions/setup-node from v4 to v5 in release - set release workflow node-version from '22' to '24' - leave the CI matrix at [22, 24] to keep supported-version coverage - leave SHA-pinned aquasecurity/trivy-action unchanged GH-167
1 parent 49674b0 commit 1fa9324

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
matrix:
1414
node-version: [22, 24]
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-node@v3
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-node@v5
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020
- name: Install Dependencies

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
# environment: production # Uncomment if you set an environment name in npm trusted publisher settings
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v5
1818
with:
1919
# fetch-depth is necessary to get all tags
2020
# otherwise lerna can't detect the changes and will end up bumping the versions for all packages
2121
fetch-depth: 0
2222
token: ${{ secrets.RELEASE_COMMIT_GH_PAT }}
2323

2424
- name: Setup Node
25-
uses: actions/setup-node@v4 # UPDATED to v4
25+
uses: actions/setup-node@v5
2626
with:
27-
node-version: '22'
27+
node-version: '24'
2828
registry-url: 'https://registry.npmjs.org'
2929
always-auth: false # important for trusted publishing
3030

.github/workflows/sync-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818

1919
steps:
2020
- name: Checkout Extension Code
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v5
2222
with:
2323
token: ${{env.GITHUB_TOKEN}}
2424
path: './extension/'
2525

2626
- name: Checkout Docs Repository
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v5
2828
with:
2929
token: ${{env.GITHUB_TOKEN}}
3030
repository: ${{env.DOCS_REPO}}

.github/workflows/trivy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Steps represent a sequence of tasks that will be executed as part of the job
2020
steps:
2121
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v5
2323

2424
- name: Run Trivy vulnerability scanner in repo mode
2525
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0

0 commit comments

Comments
 (0)