Skip to content

Commit 14cbb9e

Browse files
fix: update workflow to use pnpm instead of npm
Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
1 parent 8c7c539 commit 14cbb9e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/cloudflare-deploy.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,22 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
1919

20+
- name: Setup pnpm
21+
uses: pnpm/action-setup@v2
22+
with:
23+
version: 8
24+
2025
- name: Setup Node.js
2126
uses: actions/setup-node@v4
2227
with:
2328
node-version: '18'
24-
cache: 'npm'
29+
cache: 'pnpm'
2530

2631
- name: Install dependencies
27-
run: npm install
32+
run: pnpm install
2833

2934
- name: Build
30-
run: npm run build
35+
run: pnpm run build
3136

3237
- name: Deploy with Wrangler
3338
run: npx wrangler deploy

0 commit comments

Comments
 (0)