Skip to content

Merge pull request #2 from Gui-Yue/feat/ci-quality-gate #4

Merge pull request #2 from Gui-Yue/feat/ci-quality-gate

Merge pull request #2 from Gui-Yue/feat/ci-quality-gate #4

Workflow file for this run

name: PR Quality Gate
on:
pull_request:
push:
branches:
- main
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
name: Node 24 | npm ci + typecheck + test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
cache: npm
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Run tests
run: npm test