Skip to content

Commit 9c8ac3e

Browse files
committed
fix: update workflow to setup pnpm
1 parent 36829b6 commit 9c8ac3e

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@v4
1414

15-
- name: Setup Node.js
16-
uses: actions/setup-node@v4
15+
- uses: pnpm/action-setup@v4
16+
name: Install pnpm
1717
with:
18-
node-version: '20'
19-
cache: 'pnpm'
18+
version: 10
2019

21-
- name: Setup pnpm
22-
uses: pnpm/action-setup@v3
20+
- name: Install Node.js
21+
uses: actions/setup-node@v4
2322
with:
24-
version: 10
23+
node-version: 20
24+
cache: 'pnpm'
2525

2626
- name: Install dependencies
2727
run: pnpm install --frozen-lockfile

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717

18+
- uses: pnpm/action-setup@v4
19+
name: Install pnpm
20+
with:
21+
version: 10
22+
1823
- name: Setup Node.js
1924
uses: actions/setup-node@v4
2025
with:

0 commit comments

Comments
 (0)