Skip to content

ci: 🚀 update deployment workflow to use Ubuntu 24.04 #4

ci: 🚀 update deployment workflow to use Ubuntu 24.04

ci: 🚀 update deployment workflow to use Ubuntu 24.04 #4

Workflow file for this run

name: Deploy via CF Workers
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: Ubuntu-24.04
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
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 }}