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