Skip to content

Commit da02bd0

Browse files
committed
chore: Upgrade all GHA to use the latest Node.js setup
1 parent f5842e0 commit da02bd0

File tree

7 files changed

+21
-36
lines changed

7 files changed

+21
-36
lines changed

.github/workflows/bump-auxiliary-packages.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
2525
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727
with:
2828
# don't checkout a detached HEAD
2929
ref: ${{ github.head_ref }}
@@ -33,14 +33,10 @@ jobs:
3333
fetch-depth: "0"
3434
token: ${{ steps.app-token.outputs.token }}
3535

36-
- uses: actions/setup-node@v4
36+
- uses: actions/setup-node@v6
3737
with:
38-
node-version: ^24.x
39-
cache: "npm"
40-
41-
- name: Install [email protected]
42-
run: |
43-
npm install -g [email protected]
38+
check-latest: true
39+
node-version: 24.x
4440

4541
- name: Install Dependencies
4642
run: |

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v5
4545
with:
4646
ref: ${{ github.event.inputs.sha || github.sha }}
4747

.github/workflows/cron-tasks.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
2727
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
2828

29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v5
3030
with:
3131
# don't checkout a detached HEAD
3232
ref: ${{ github.head_ref }}
@@ -36,14 +36,10 @@ jobs:
3636
fetch-depth: "0"
3737
token: ${{ steps.app-token.outputs.token }}
3838

39-
- uses: actions/setup-node@v4
39+
- uses: actions/setup-node@v6
4040
with:
41-
node-version: ^24.x
42-
cache: "npm"
43-
44-
- name: Install npm@8
45-
run: |
46-
npm install -g npm@10
41+
check-latest: true
42+
node-version: 24.x
4743

4844
- name: Install Dependencies and Compile
4945
run: |

.github/workflows/merge-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
2020
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
2121

22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
with:
2424
ref: main
2525
fetch-depth: "0"

.github/workflows/publish-auxiliary-packages.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
3535
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
3636

37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v5
3838
with:
3939
# don't checkout a detatched HEAD
4040
ref: ${{ github.head_ref }}
@@ -44,13 +44,10 @@ jobs:
4444
fetch-depth: "0"
4545
token: ${{ steps.app-token.outputs.token }}
4646

47-
- name: "Use Node.js 20"
48-
uses: actions/setup-node@v4
47+
- uses: actions/setup-node@v6
4948
with:
50-
node-version: ^24.x
51-
52-
- name: Install [email protected]
53-
run: npm install -g [email protected]
49+
check-latest: true
50+
node-version: 24.x
5451

5552
- name: Install Dependencies
5653
run: |

.github/workflows/update-cta.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
npm_config_foreground_scripts: "true"
3333
PUPPETEER_SKIP_DOWNLOAD: "true"
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
- name: configure aws credentials
3737
uses: aws-actions/[email protected]
3838
with:
@@ -41,10 +41,10 @@ jobs:
4141
- name: Sts GetCallerIdentity
4242
run: |
4343
aws sts get-caller-identity
44-
- uses: actions/setup-node@v4
44+
- uses: actions/setup-node@v6
4545
with:
46-
node-version: ^24.x
47-
cache: "npm"
46+
check-latest: true
47+
node-version: 24.x
4848
- name: Install Dependencies and Compile
4949
run: |
5050
npm ci

.github/workflows/update-node-js.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,16 @@ jobs:
2020
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
2121
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
2222

23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
with:
2525
# don't checkout a detached HEAD
2626
ref: ${{ github.head_ref }}
2727
token: ${{ steps.app-token.outputs.token }}
2828

29-
- uses: actions/setup-node@v4
29+
- uses: actions/setup-node@v6
3030
with:
31+
check-latest: true
3132
node-version: 24.x
32-
cache: "npm"
33-
34-
- name: Install npm@10
35-
run: |
36-
npm install -g npm@10
3733

3834
- name: Bump packages
3935
run: |

0 commit comments

Comments
 (0)