Skip to content

Commit

Permalink
chore: Update deployment workflow to use pnpm for installing wrangler
Browse files Browse the repository at this point in the history
  • Loading branch information
sasicodes committed Jun 13, 2024
1 parent 79956dd commit 64ebce4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/cd-workers-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
check-latest: true
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 comments on commit 64ebce4

Please sign in to comment.