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