Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 60 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
branches: ['*']

jobs:
ci:
vite:
name: 'Vite'
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -22,4 +23,61 @@ jobs:
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test
- run: npm run test:e2e:vite

cloudflare-pages:
name: 'Cloudflare Pages'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
strategy:
matrix:
node: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test:e2e:cloudflare-pages

cloudflare-workers:
name: 'Cloudflare Workers'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
strategy:
matrix:
node: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test:e2e:cloudflare-workers

node:
name: 'Node.js'
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
strategy:
matrix:
node: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test:e2e:node