Skip to content

Commit 389227a

Browse files
Reorder Node.js setup in code-checks workflow
1 parent 02ef1d1 commit 389227a

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/code-checks.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ jobs:
1616
steps:
1717
- name: Git checkout
1818
uses: actions/checkout@v6
19-
20-
- name: Use Node.js 22
21-
uses: actions/setup-node@v6
22-
with:
23-
node-version: 22
24-
cache: "pnpm"
25-
- name: corepack
26-
run: corepack enable
27-
2819
- name: Cache turbo build setup
2920
uses: actions/cache@v5
3021
with:
@@ -36,10 +27,16 @@ jobs:
3627
uses: pnpm/action-setup@v4
3728
with:
3829
run_install: false
30+
- name: Use Node.js 22
31+
uses: actions/setup-node@v6
32+
with:
33+
node-version: 22
34+
cache: "pnpm"
35+
- name: corepack
36+
run: corepack enable
3937
- name: Install dependencies
4038
run: |
4139
export COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}')"
4240
pnpm install
43-
4441
- name: turbo-checks
4542
run: pnpm run turbo-checks

0 commit comments

Comments
 (0)