35 lines
509 B
YAML
35 lines
509 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- dev
|
|
- main
|
|
- test
|
|
|
|
jobs:
|
|
verify:
|
|
runs-on: gitea-label
|
|
|
|
container:
|
|
image: node:24-bookworm
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- run: corepack enable
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10.30.3
|
|
|
|
- run: node -v
|
|
- run: npm -v
|
|
- run: pnpm -v
|
|
|
|
- run: pnpm install --frozen-lockfile
|
|
- run: pnpm lint
|
|
- run: pnpm test
|
|
- run: pnpm build
|