Skip to content

Commit 1a1f680

Browse files
committed
chore(ci): do redundant setup-node step before checkout to enable yarn v4 before deps install
1 parent a5e17fa commit 1a1f680

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ jobs:
88
name: Prepare
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
1211
- name: Use Node.js
1312
uses: actions/setup-node@v4
1413
with:
15-
node-version-file: '.nvmrc'
16-
cache: 'yarn'
14+
node-version: 'lts/*'
1715
- name: Install Yarn
1816
run: corepack enable
17+
- uses: actions/checkout@v4
18+
- name: Use Node.js and install dependencies
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 'lts/*'
22+
cache: 'yarn'
1923
- name: Install Yarn dependencies
2024
run: yarn --immutable
2125

0 commit comments

Comments
 (0)