ci: add validation and release workflows

This commit is contained in:
2026-08-29 19:00:06 +08:00
parent e169eae2dc
commit d074681928
2 changed files with 58 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Engine CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11.19.0
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm verify
- name: Verify committed Git distribution
run: git diff --exit-code -- dist-cli
- run: pnpm exec playwright install --with-deps chromium
- run: pnpm test:e2e