Skip to content

Allow esbuild and workerd install scripts #1

Allow esbuild and workerd install scripts

Allow esbuild and workerd install scripts #1

Workflow file for this run

name: DEPLOY
on:
push:
branches:
- main
paths:
- worker/**
- .github/workflows/deploy.yml
workflow_dispatch:
# Serialize deploys so two runs cannot race each other.
concurrency:
group: deploy-worker
cancel-in-progress: false
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: worker
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24
cache: npm
cache-dependency-path: worker/package-lock.json
- run: npm ci
- uses: cloudflare/wrangler-action@v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: worker