Skip to content

feat(cloudflare-pages): custom _routes.json #39

feat(cloudflare-pages): custom _routes.json

feat(cloudflare-pages): custom _routes.json #39

name: ci-cloudflare-pages
on:
push:
branches: [main]
paths:
- 'packages/cloudflare-pages/**'
pull_request:
branches: ['*']
paths:
- 'packages/cloudflare-pages/**'
jobs:
ci:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/cloudflare-pages
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: yarn install
- run: yarn build
- run: yarn test
ci-windows:
runs-on: windows-latest
defaults:
run:
working-directory: ./packages/cloudflare-pages
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: yarn install
- run: yarn test