Skip to content

fix(deps): pnpm overrides in both manifests for v9/v10/v11 frozen ins… #84

fix(deps): pnpm overrides in both manifests for v9/v10/v11 frozen ins…

fix(deps): pnpm overrides in both manifests for v9/v10/v11 frozen ins… #84

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
# Least privilege: CI only checks out, installs, tests, and builds.
permissions:
contents: read
jobs:
validate:
name: Validate registry data
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: pnpm
- run: pnpm install --frozen-lockfile
# Runs scripts/validate-registry.js (schema, flagship rule, links,
# leaderboard refs) + scripts/test-fallback.js, and auto-syncs README table
- run: pnpm test
# Fail if the contributor forgot to run `pnpm test` (README table out of sync)
- name: Check README table is in sync
run: git diff --exit-code README.md
lint:
name: Lint & typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm typecheck
build:
name: Build site
runs-on: ubuntu-latest
needs: validate
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run build