Skip to content

Upgrade Wrangler to 3, Hono to 4 #64

Upgrade Wrangler to 3, Hono to 4

Upgrade Wrangler to 3, Hono to 4 #64

name: Deploy to Cloudflare Workers
on:
push:
branches:
- main
jobs:
deploy:
name: Worker Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Setup Node.js
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Deploy Worker to Cloudflare
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: npm run deploy