Skip to content

Support Rhode Island #867

Support Rhode Island

Support Rhode Island #867

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
paths-ignore:
- ".changeset/**"
- ".storybook/**"
- ".vscode/**"
- "docs/**"
- "public/**"
- "CHANGELOG.md"
push:
branches: [main]
permissions:
actions: write # zizmor: ignore[excessive-permissions]
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup PNPM
uses: pnpm/action-setup@v6.0.8
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "24.x"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm tsc -b
- name: Biome Linter, Formatter, and Import Sorter
run: pnpm biome ci
test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup PNPM
uses: pnpm/action-setup@v6.0.8
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "24.x"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm test
sanity:
name: Validate Sanity Schema
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup PNPM
uses: pnpm/action-setup@v6.0.8
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "24.x"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Validate Sanity schema
run: pnpm sanity schema extract --enforce-required-fields
- name: Build Sanity Studio
run: pnpm sanity build