Skip to content

Bump @whatwg-node/server from 0.9.53 to 0.9.54 (#430) #389

Bump @whatwg-node/server from 0.9.53 to 0.9.54 (#430)

Bump @whatwg-node/server from 0.9.53 to 0.9.54 (#430) #389

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- main
- staging
jobs:
deploy:
timeout-minutes: 2
runs-on: ubuntu-22.04
name: Deploy
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: '.node-version'
cache: 'npm'
- name: Install npm dependencies
run: npm ci
- name: Set wrangler version
id: wrangler
run: echo "version=$(jq -r .devDependencies.wrangler packages/cf/package.json)" >> "$GITHUB_OUTPUT"
- name: Deploy
uses: cloudflare/wrangler-action@b2a0191ce60d21388e1a8dcc968b4e9966f938e1 # v3.11.0
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
wranglerVersion: ${{ steps.wrangler.outputs.version }}
workingDirectory: 'packages/cf'
command: deploy --env ${{ github.ref == 'refs/heads/main' && 'prod' || 'staging' }}