Skip to content

Commit 43dae65

Browse files
chore(ci): bump actions/checkout@v5 + setup-node@v5 + node 22 (#24)
GH Actions has been emitting deprecation warnings on every CI run: Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/ checkout@v4, actions/setup-node@v4. setup-node@v5 (and checkout@v5) run on Node 24 by default; bump the engines target to node 22 as a stable LTS that's well-tested with both Vite and Playwright. (Local dev still works on whatever the dev has — these versions only affect CI runners.)
1 parent 80ef6e6 commit 43dae65

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
build-and-test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414

15-
- uses: actions/setup-node@v4
15+
- uses: actions/setup-node@v5
1616
with:
17-
node-version: '20'
17+
node-version: '22'
1818
cache: 'npm'
1919

2020
- run: npm ci
@@ -24,11 +24,11 @@ jobs:
2424
playwright:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828

29-
- uses: actions/setup-node@v4
29+
- uses: actions/setup-node@v5
3030
with:
31-
node-version: '20'
31+
node-version: '22'
3232
cache: 'npm'
3333

3434
- run: npm ci

0 commit comments

Comments
 (0)