Skip to content

docs: exempt patterns from cf _routes.json #4933

docs: exempt patterns from cf _routes.json

docs: exempt patterns from cf _routes.json #4933

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- run: corepack enable
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 22
cache: "pnpm"
- name: 📦 Install dependencies
run: pnpm install
- run: pnpm dev:prepare
- name: 🔠 Lint project
run: pnpm lint
- name: ✂️ Knip project
run: pnpm knip --workspace .
- name: ⚙️ Check package engines
run: pnpm installed-check -d --no-workspaces
ci:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- run: corepack enable
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: lts/-1
cache: "pnpm"
- name: 📦 Install dependencies
run: pnpm install
- name: Install Playwright
# does not need to explicitly set chromium after https://github.com/microsoft/playwright/issues/14862 is solved
run: pnpm playwright-core install chromium
- run: pnpm dev:prepare
- name: 💪 Type check
run: pnpm test:types
- name: 🛠 Build project
run: pnpm build
- name: 🧪 Test project
run: pnpm test
- name: 💪 Type check (built)
run: pnpm test:built:types
- run: pnpm dev:build
- name: 🟩 Coverage
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
if: matrix.os != 'windows-latest'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}