Skip to content

build(deps): bump the github-actions group across 1 directory with 7 updates #3

build(deps): bump the github-actions group across 1 directory with 7 updates

build(deps): bump the github-actions group across 1 directory with 7 updates #3

Workflow file for this run

name: PR checks
on:
pull_request:
branches:
- main
permissions:
contents: read
concurrency:
group: "pr-${{ github.event.pull_request.number }}"
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-24.04
# Fast gate (no browser-contract suite — that stays on deploy); bounded so
# a hang fails fast instead of sitting out the platform default.
timeout-minutes: 15
defaults:
run:
working-directory: ./website
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: npm
cache-dependency-path: ./website/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Run typecheck
run: npm run typecheck
- name: Audit responsive diagrams
run: npm run audit:responsive-diagrams
- name: Audit context regions
run: npm run audit:context-regions
# Website tests run first without the provider SDK; the CLI's static imports
# require scripts/ dependencies even for its credential-free lint command.
- name: Install audiobook CLI dependencies
run: npm ci --prefix ../scripts
- name: Lint audiobook dialogue
run: npm run audio:dialogue:lint
- name: Run linter
run: npm run lint