Skip to content

Commit 6d1bb58

Browse files
chargomeclaude
andcommitted
ci: Pin Node.js to v20 in all workflows
Node.js 24 is now the latest LTS, which causes yarn v1 to hang during install. Pin to Node 20 (our tested version) until we can validate compatibility with newer versions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fd5243b commit 6d1bb58

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2222
fetch-depth: 0
2323

24-
- name: Setup Node.js lts/*
24+
- name: Setup Node.js 20
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: lts/*
27+
node-version: '20'
2828
cache: 'yarn'
2929

3030
- name: Install Dependencies
@@ -58,10 +58,10 @@ jobs:
5858
- name: Checkout Repo
5959
uses: actions/checkout@v3
6060

61-
- name: Setup Node.js lts/*
61+
- name: Setup Node.js 20
6262
uses: actions/setup-node@v3
6363
with:
64-
node-version: lts/*
64+
node-version: '20'
6565
cache: 'yarn'
6666

6767
- name: Install Dependencies

.github/workflows/eslint-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: lts/*
27+
node-version: '20'
2828
cache: 'yarn'
2929
- name: Install Dependencies
3030
run: yarn install --frozen-lockfile
@@ -81,7 +81,7 @@ jobs:
8181
name: pr-sizes
8282
- uses: actions/setup-node@v3
8383
with:
84-
node-version: lts/*
84+
node-version: '20'
8585
cache: 'yarn'
8686
- name: Install base dependencies
8787
run: yarn install --frozen-lockfile

.github/workflows/style-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Node
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: lts/*
21+
node-version: '20'
2222
cache: 'yarn'
2323
- name: Install Dependencies
2424
run: yarn install --frozen-lockfile
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Node
4343
uses: actions/setup-node@v3
4444
with:
45-
node-version: lts/*
45+
node-version: '20'
4646
cache: 'yarn'
4747
- name: Install Dependencies
4848
run: yarn install --frozen-lockfile

0 commit comments

Comments
 (0)