Skip to content

chore(deps): Bump actions/setup-node from 6.4.0 to 7.0.0 #138

chore(deps): Bump actions/setup-node from 6.4.0 to 7.0.0

chore(deps): Bump actions/setup-node from 6.4.0 to 7.0.0 #138

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
typescript:
name: TypeScript
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build:all
- name: Type check
run: pnpm check:all
- name: Test packages (unit tests)
run: pnpm test:packages
- name: Test app (type check + build)
run: pnpm test
python:
name: Python
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
defaults:
run:
working-directory: python
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: python/pyproject.toml
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Lint
run: ruff check .
- name: Format check
run: ruff format --check .
- name: Type check
# Blocking: the codebase is pyright-clean. Pin the analysis binary so the
# gate is deterministic (the pyright-python wrapper otherwise fetches latest).
run: pyright
env:
PYRIGHT_PYTHON_FORCE_VERSION: "1.1.408"
- name: Test
run: python -m pytest
lint:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v6
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Prettier check
run: npx prettier --check .
- name: ESLint
run: pnpm lint