@@ -0,0 +1,39 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user