Skip to content

Commit fab2eb6

Browse files
Merge pull request #6114 from Hacker0x01/chore/upgrade-node-versions
chore: upgrade to Node 24.x LTS and fix deprecated set-output
2 parents 71359df + 7f5a371 commit fab2eb6

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/build-docs-site.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
15+
1616
- name: Set Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: 22.x
19+
node-version: 24.x
2020

2121
- name: Corepack enable
2222
run: corepack enable
2323

2424
- name: Yarn setup
25-
run: corepack prepare --activate
25+
run: corepack prepare --activate
2626

2727
- name: Get yarn cache directory path
2828
id: yarn-cache-dir-path
29-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
29+
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
3030

3131
- uses: actions/cache@v4
3232
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
12+
1313
- name: Set Node.js
1414
uses: actions/setup-node@v4
1515
with:
16-
node-version: 22.x
16+
node-version: 24.x
1717

1818
- name: Corepack enable
1919
run: corepack enable
2020

2121
- name: Yarn setup
22-
run: corepack prepare --activate
22+
run: corepack prepare --activate
2323

2424
- name: Get yarn cache directory path
2525
id: yarn-cache-dir-path
26-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
26+
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
2727

2828
- name: Install dependencies
2929
run: yarn install

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [22.x]
16+
node-version: [24.x]
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
20+
2121
- name: Setup kernel for react, increase watchers
2222
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2323

2424
- name: Set Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: 22.x
27+
node-version: 24.x
2828

2929
- name: Corepack enable
3030
run: corepack enable
3131

3232
- name: Yarn setup
33-
run: corepack prepare --activate
33+
run: corepack prepare --activate
3434

3535
- name: Get yarn cache directory path
3636
id: yarn-cache-dir-path
37-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
37+
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
3838

3939
- uses: actions/cache@v4
4040
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)

0 commit comments

Comments
 (0)