Files
lab/.gitea/workflows/polaris-ci.yml
T
labmem 09e5735162
Polaris CI / verify (push) Successful in 1m42s
ci(polaris): 添加ci测试
2026-10-12 15:28:36 +08:00

40 lines
853 B
YAML

name: Polaris CI
on:
push:
branches:
- main
paths:
- ts/web/nextjs/polaris/**
- .gitea/workflows/polaris-ci.yml
jobs:
verify:
runs-on: polaris-ci
container: node:22.23.2-bookworm
timeout-minutes: 30
defaults:
run:
working-directory: ts/web/nextjs/polaris
steps:
- name: Check out repository
uses: https://gitea.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
- name: Install dependencies
run: corepack pnpm install --frozen-lockfile
- name: Lint
run: corepack pnpm lint
- name: Typecheck
run: corepack pnpm typecheck
- name: Test
run: corepack pnpm test
- name: Build static export
run: corepack pnpm build
- name: Verify static export
run: corepack pnpm verify:export