Skip to content

ci: 🚀 update deployment workflow to include pnpm setup and Nod… #2

ci: 🚀 update deployment workflow to include pnpm setup and Nod…

ci: 🚀 update deployment workflow to include pnpm setup and Nod… #2

Workflow file for this run

name: Deploy via CF Workers
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10
name: Deploy
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4

Check failure on line 24 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yaml

Invalid workflow file

You have an error in your yaml syntax on line 24
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}