Skip to content

1.0.5

1.0.5 #19

Workflow file for this run

name: Deploy to Cloudflare Pages
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'playground/**'
- '.github/**'
- 'README.md'
- 'LICENSE'
- '.gitignore'
- 'eslint.config.js'
- 'add-component-help.ps1'
- 'AGENTS.md'
- '.prettierrc'
- '.prettierignore'
- 'src/lib/**'
- '.npmrc'
- 'tsconfig.json'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACC_ID }}
command: pages deploy build --project-name=svelte-router