Skip to content

chore: add baseline-browser-mapping and caniuse-lite deps #7

chore: add baseline-browser-mapping and caniuse-lite deps

chore: add baseline-browser-mapping and caniuse-lite deps #7

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
push:
branches: [master]
workflow_dispatch:
jobs:
deploy:
name: Build and deploy
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build Nuxt (cloudflare-module)
run: bun run build
- name: Deploy with Wrangler
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: deploy