Files
cozsweet-frontend-nextjs/.gitea/workflows/ci.yml
T
admin aeebd77315
CI / Lint, Test, Build (push) Has been cancelled
ci(gitea): move workflow to gitea actions
2026-07-06 17:53:53 +08:00

46 lines
776 B
YAML

name: CI
on:
pull_request:
push:
branches:
- dev
- gitea
- main
- test
jobs:
verify:
name: Lint, Test, Build
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_APP_ENV: test
NEXT_TELEMETRY_DISABLED: "1"
SENTRY_UPLOAD_SOURCEMAPS: "0"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.30.3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- name: Build
run: pnpm build