From 09e57351621270d2419863f0e2ba46809d5b8501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=82=B2=E6=96=B0?= <2635131263@qq.com> Date: Mon, 12 Oct 2026 15:28:36 +0800 Subject: [PATCH] =?UTF-8?q?ci(polaris):=20=E6=B7=BB=E5=8A=A0ci=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/polaris-ci.yml | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .gitea/workflows/polaris-ci.yml diff --git a/.gitea/workflows/polaris-ci.yml b/.gitea/workflows/polaris-ci.yml new file mode 100644 index 0000000..70d100c --- /dev/null +++ b/.gitea/workflows/polaris-ci.yml @@ -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