Skip to content

Migrate to SSG from SSR on Cloudflare Pages/Workers #870

Migrate to SSG from SSR on Cloudflare Pages/Workers

Migrate to SSG from SSR on Cloudflare Pages/Workers #870

Workflow file for this run

name: "actions"
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
timeout-minutes: 15
env:
SERVER_ENV: local
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: cache playwright browsers
id: playwright-cache
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npx playwright install-deps
- run: npm run build
- run: npm run lint
- run: npm test