Skip to content

feat: add trailing action slot to Collapsible (#10) #41

feat: add trailing action slot to Collapsible (#10)

feat: add trailing action slot to Collapsible (#10) #41

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
TURBO_TELEMETRY_DISABLED: 1
jobs:
check:
name: Check & Test & Build
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v6
# pnpm (version pinned by package.json's `packageManager`) + Node, with the
# pnpm content store cached by setup-node.
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
# Turborepo local cache: build/typecheck/test outputs are content-hashed and
# restored across runs (keyed by commit, falling back to the latest prior run).
- name: Restore Turbo cache
uses: actions/cache@v6
with:
path: .turbo
key: turbo-${{ runner.os }}-${{ github.sha }}
restore-keys: |
turbo-${{ runner.os }}-
# Format + lint + type-check (turbo `check` = check:format + check:lint +
# check:types). check:lint/check:types build each package's workspace
# dependencies first via `^build` (e.g. docs type-checks against
# @makeplane/propel's built dist), so no separate pre-build step is needed.
- run: pnpm check
# Storybook stories run as browser tests (Vitest + Playwright). The propel
# package's `pretest` hook installs the Chromium binary + system deps
# (`playwright install --with-deps chromium` when CI=true) before the run.
- run: pnpm test
- run: pnpm build