Files
status/.gitea/workflows/check.yml
T
Michael Kinder 1d11d58b86
Check / check (pull_request) Canceled after 4m3s
Move CI to Gitea Actions
Workflows live in .gitea/workflows. The upstream sync pushes with an access
token, so it no longer needs the GitHub-only deploy trigger or PAT input.
2026-11-24 22:14:33 -05:00

33 lines
684 B
YAML

name: Check
on:
pull_request:
push:
branches: ['main']
permissions:
contents: read
env:
WRANGLER_SEND_METRICS: 'false'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- run: npm ci
- run: cd worker && npm ci
- name: Lint and types
run: |
npx next lint
npx tsc --noEmit -p .
- name: Build the worker
run: cd worker && npx wrangler deploy src/index.ts --outdir dist --dry-run
- name: Build the page for Cloudflare Pages
run: npx @cloudflare/next-on-pages