Skip to content

Merge pull request #38 from BurnerWah/dependabot/npm_and_yarn/undici-… #36

Merge pull request #38 from BurnerWah/dependabot/npm_and_yarn/undici-…

Merge pull request #38 from BurnerWah/dependabot/npm_and_yarn/undici-… #36

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
# Only run when we update files that wrangler actually uses
paths:
- .github/workflows/wrangler.yml
- package.json
- pnpm-lock.yaml
- src/**
- tsconfig*.json
- wrangler.toml
workflow_dispatch:
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}