Skip to content

chore: Update pnpm version to 9 in deployment workflow #232

chore: Update pnpm version to 9 in deployment workflow

chore: Update pnpm version to 9 in deployment workflow #232

Workflow file for this run

name: WORKERS - Production Deployment
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
check-latest: true
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies 🧳
run: pnpm install
- name: Check Lint 💅🏻
run: pnpm lint && pnpm typecheck
- name: Deploy 🚀
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: |
pnpm add -g wrangler
pnpm api:deploy