Skip to content

Commit badb098

Browse files
committed
Set up Node.js before pnpm/action-setup@v6
pnpm/action-setup@v6 requires Node.js to be installed beforehand. Swapped the order: setup-node runs first, then pnpm/action-setup.
1 parent ba99dd8 commit badb098

File tree

2 files changed

+484
-580
lines changed

2 files changed

+484
-580
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ jobs:
2323
- name: Checkout repo
2424
uses: actions/checkout@v6
2525

26-
- uses: pnpm/action-setup@v6
27-
2826
- name: Set-up Node.js ${{ matrix.node }}
2927
uses: actions/setup-node@v6
3028
with:
3129
node-version: ${{ matrix.node }}
3230
check-latest: true
33-
cache: pnpm
31+
32+
- uses: pnpm/action-setup@v6
33+
with:
34+
version: 10.14.0
3435

3536
- name: Install dependencies
3637
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)