ci: split workflows and move pnpm lockfile ownership to GitHub Actions

This commit is contained in:
zvictor
2026-03-06 21:21:28 -03:00
parent ffc59f5b08
commit bee9fdd207
4 changed files with 136 additions and 6 deletions

44
.github/workflows/pr-verify.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: PR Verify
on:
pull_request:
branches:
- master
concurrency:
group: pr-verify-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Typecheck
run: pnpm -r typecheck
- name: Run tests
run: pnpm test:run
- name: Build
run: pnpm build