Skip to content

Commit d4d11a5

Browse files
committed
add: pnpm in CD workflow
1 parent ac41b96 commit d4d11a5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15+
- name: Install pnpm
16+
uses: pnpm/action-setup@v4
17+
with:
18+
version: 9
19+
1520
- name: Setup Node.js
1621
uses: actions/setup-node@v4
1722
with:
1823
node-version: '20'
1924
cache: 'pnpm'
2025

21-
- name: Install pnpm
22-
run: npm install -g pnpm
23-
2426
- name: Install dependencies
2527
run: pnpm install
2628

0 commit comments

Comments
 (0)