38 lines
757 B
YAML
38 lines
757 B
YAML
name: PR Checks
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup PNPM
|
|
uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 8
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '25'
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build shared packages
|
|
run: pnpm --filter './packages/*' build
|
|
|
|
- name: Lint all
|
|
run: pnpm lint
|
|
|
|
- name: Type check all
|
|
run: pnpm typecheck
|
|
|
|
- name: Build all
|
|
run: pnpm build
|