Skip to content

Commit f3b9d69

Browse files
committed
refactor: update deployment workflow to install dependencies before wrangler
1 parent e7af1a0 commit f3b9d69

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ jobs:
1717
with:
1818
node-version: '20'
1919

20+
- name: Install dependencies
21+
run: npm ci
22+
2023
- name: Install wrangler
2124
run: npm install -g wrangler
2225

23-
- name: Publish to Cloudflare Workers
26+
- name: Deploy with wrangler
2427
run: wrangler deploy
2528
env:
2629
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)