Skip to content

Commit ae1a52b

Browse files
committed
chore(FR-2621): upgrade deprecated Node.js 20 GitHub Actions to v5 (#6840)
Resolves #6838 (FR-2621) ## Summary Bump pinned action versions in hand-maintained workflow files from v4 (Node.js 20) to v5 (Node.js 24) to silence the deprecation warning emitted by the GitHub Actions runner and prepare for: - **2026-06-02**: Node.js 24 becomes the default; v4 actions are forced onto Node 24 at runtime. - **2026-09-16**: Node.js 20 removed from the runner. Reference: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ ## Version bumps | Action | Before | After | | --- | --- | --- | | `actions/checkout` | v4 | v5 | | `actions/setup-node` | v4 | v5 | | `actions/upload-artifact` | v4 | v5 | | `actions/download-artifact` | v4 | v5 | | `pnpm/action-setup` | v4 | v5 | ## Affected files - `.github/workflows/package.yml` (source of the `build_web` / `build_mac` / `build_desktop` warning surfaced on [run 24710197346](https://github.com/lablup/backend.ai-webui/actions/runs/24710197346)) - `.github/workflows/jest.yml` - `.github/workflows/storybook-check.yml` - `.github/workflows/publish-backend.ai-ui.yml` - `.github/workflows/publish-backend.ai-docs-toolkit.yml` - `.github/actions/daily-test-improver/coverage-steps/action.yml` (composite action referenced from `daily-test-improver.lock.yml`) ## Out of scope - `*.lock.yml` agent workflows under `.github/workflows/` are auto-generated from `*.md` specs and already pin v5/v7/v8 by SHA. - Source `*.md` specs (e.g. `e2e-healer.md`, `e2e-watchdog.md`) and `.github/aw/actions-lock.json` are managed by the gh-aw tooling on a separate cadence; their compiled `*.lock.yml` outputs are already >= v5 by SHA. - `actions/cache` is already at v5 project-wide. - Open Dependabot bumps (`#5788`, `#5789`) propose going straight to v6; v5 is chosen here as a conservative stepping stone that already resolves the Node 20 deprecation warning. ## Test plan - [ ] Trigger `package.yml` via `workflow_dispatch` with `dry_run=true` and confirm no Node.js 20 deprecation warning in `build_web`. - [ ] Next `jest.yml` run on a PR touching `react/**` or `packages/backend.ai-ui/**` completes without the warning. - [ ] No behavior changes beyond the action bumps. > `scripts/verify.sh` intentionally skipped: this PR only touches `.github/workflows/*.yml` and `.github/actions/**/*.yml`, which the harness (Relay / Lint / Format / TypeScript) does not cover.
1 parent 1f7ab53 commit ae1a52b

6 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/actions/daily-test-improver/coverage-steps/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ runs:
66
steps:
77
# Step 1: Setup Node.js and pnpm
88
- name: Install pnpm
9-
uses: pnpm/action-setup@v4
9+
uses: pnpm/action-setup@v5
1010
with:
1111
version: latest
1212
run_install: false
1313

1414
- name: Setup Node.js
15-
uses: actions/setup-node@v4
15+
uses: actions/setup-node@v5
1616
with:
1717
node-version-file: ".nvmrc"
1818
cache: "pnpm"
@@ -24,7 +24,7 @@ runs:
2424
echo "Step: Get pnpm store directory" >> coverage-steps.log
2525
2626
- name: Setup pnpm cache
27-
uses: actions/cache@v4
27+
uses: actions/cache@v5
2828
with:
2929
path: ${{ env.STORE_PATH }}
3030
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
@@ -146,7 +146,7 @@ runs:
146146
147147
# Step 9: Upload coverage reports as artifacts
148148
- name: Upload coverage artifacts
149-
uses: actions/upload-artifact@v4
149+
uses: actions/upload-artifact@v5
150150
with:
151151
name: coverage
152152
path: |

.github/workflows/jest.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
react-changed: ${{ steps.changes.outputs.react }}
2222
backend-ai-ui-changed: ${{ steps.changes.outputs.backend-ai-ui }}
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
2525
- uses: dorny/paths-filter@v3
2626
id: changes
2727
with:
@@ -41,15 +41,15 @@ jobs:
4141
contents: write
4242
runs-on: ubuntu-latest
4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v5
4545
- uses: jwalton/gh-find-current-pr@v1
4646
id: findPr
47-
- uses: pnpm/action-setup@v4
47+
- uses: pnpm/action-setup@v5
4848
name: Install pnpm
4949
with:
5050
version: latest
5151
run_install: false
52-
- uses: actions/setup-node@v4
52+
- uses: actions/setup-node@v5
5353
with:
5454
node-version-file: ".nvmrc"
5555
cache: "pnpm"
@@ -94,15 +94,15 @@ jobs:
9494
run:
9595
working-directory: ./packages/backend.ai-ui
9696
steps:
97-
- uses: actions/checkout@v4
97+
- uses: actions/checkout@v5
9898
- uses: jwalton/gh-find-current-pr@v1
9999
id: findPr
100-
- uses: pnpm/action-setup@v4
100+
- uses: pnpm/action-setup@v5
101101
name: Install pnpm
102102
with:
103103
version: latest
104104
run_install: false
105-
- uses: actions/setup-node@v4
105+
- uses: actions/setup-node@v5
106106
with:
107107
node-version-file: ".nvmrc"
108108
cache: "pnpm"

.github/workflows/package.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: Check out Git repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040

41-
- uses: pnpm/action-setup@v4
41+
- uses: pnpm/action-setup@v5
4242
name: Install pnpm
4343
with:
4444
version: latest
4545
run_install: false
4646

4747
- name: Install Node.js
48-
uses: actions/setup-node@v4
48+
uses: actions/setup-node@v5
4949
with:
5050
node-version-file: '.nvmrc'
5151
cache: 'pnpm'
@@ -67,7 +67,7 @@ jobs:
6767

6868
# Share build artifacts with downstream desktop jobs
6969
- name: Upload build artifacts
70-
uses: actions/upload-artifact@v4
70+
uses: actions/upload-artifact@v5
7171
with:
7272
name: web-build
7373
path: |
@@ -91,16 +91,16 @@ jobs:
9191
environment: ${{ inputs.dry_run != true && 'app-packaging' || 'app-packaging-dryrun' }}
9292
steps:
9393
- name: Check out Git repository
94-
uses: actions/checkout@v4
94+
uses: actions/checkout@v5
9595

96-
- uses: pnpm/action-setup@v4
96+
- uses: pnpm/action-setup@v5
9797
name: Install pnpm
9898
with:
9999
version: latest
100100
run_install: false
101101

102102
- name: Install Node.js
103-
uses: actions/setup-node@v4
103+
uses: actions/setup-node@v5
104104
with:
105105
node-version-file: '.nvmrc'
106106
cache: 'pnpm'
@@ -109,7 +109,7 @@ jobs:
109109
run: pnpm install --no-frozen-lockfile
110110

111111
- name: Download web build artifacts
112-
uses: actions/download-artifact@v4
112+
uses: actions/download-artifact@v5
113113
with:
114114
name: web-build
115115

@@ -159,16 +159,16 @@ jobs:
159159
runs-on: ubuntu-latest
160160
steps:
161161
- name: Check out Git repository
162-
uses: actions/checkout@v4
162+
uses: actions/checkout@v5
163163

164-
- uses: pnpm/action-setup@v4
164+
- uses: pnpm/action-setup@v5
165165
name: Install pnpm
166166
with:
167167
version: latest
168168
run_install: false
169169

170170
- name: Install Node.js
171-
uses: actions/setup-node@v4
171+
uses: actions/setup-node@v5
172172
with:
173173
node-version-file: '.nvmrc'
174174
cache: 'pnpm'
@@ -177,7 +177,7 @@ jobs:
177177
run: pnpm install --no-frozen-lockfile
178178

179179
- name: Download web build artifacts
180-
uses: actions/download-artifact@v4
180+
uses: actions/download-artifact@v5
181181
with:
182182
name: web-build
183183

.github/workflows/publish-backend.ai-docs-toolkit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Check out Git repository
20-
uses: actions/checkout@v4
21-
- uses: pnpm/action-setup@v4
20+
uses: actions/checkout@v5
21+
- uses: pnpm/action-setup@v5
2222
name: Install pnpm
2323
with:
2424
version: latest
2525
run_install: false
2626
- name: Install Node.js
27-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v5
2828
with:
2929
node-version-file: ".nvmrc"
3030
cache: "pnpm"

.github/workflows/publish-backend.ai-ui.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Check out Git repository
20-
uses: actions/checkout@v4
21-
- uses: pnpm/action-setup@v4
20+
uses: actions/checkout@v5
21+
- uses: pnpm/action-setup@v5
2222
name: Install pnpm
2323
with:
2424
version: latest
2525
run_install: false
2626
- name: Install Node.js
27-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v5
2828
with:
2929
node-version-file: ".nvmrc"
3030
cache: "pnpm"

.github/workflows/storybook-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# Skip if PR is still in draft
1919
if: github.event.pull_request.draft == false
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222

2323
- name: Filter component changes
2424
id: filter

0 commit comments

Comments
 (0)