Skip to content

refactor: use Check.isIdentifier and Extract.unwrap consistently (#1938) #12579

refactor: use Check.isIdentifier and Extract.unwrap consistently (#1938)

refactor: use Check.isIdentifier and Extract.unwrap consistently (#1938) #12579

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
types: [opened, edited, reopened, synchronize]
branches:
- "**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
NODE_OPTIONS: --max_old_space_size=10240
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup node@26
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: 26
package-manager-cache: false
- name: Setup pnpm
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check formatting
run: node --run format:check
- name: Build packages
run: node --run build
- name: Lint
run: node --run lint
- name: Verify rules
run: node --run check:rules
- name: Lint MDX
run: node --run lint:mdx
- name: Check website types
run: pnpm -F "./apps/website" run types:check
- name: Verify generated files are up to date
run: git --no-pager diff --exit-code