Skip to content

fix(release): add repository field to publishable packages for npm pr… #2

fix(release): add repository field to publishable packages for npm pr…

fix(release): add repository field to publishable packages for npm pr… #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
# Cancel superseded runs on the same ref so rapid pushes don't pile up — but
# never cancel on the default branch (we want every main build).
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
jobs:
# Typecheck ("lint"): the workspace has no ESLint — the static-analysis gate
# is the TypeScript compiler, run via each package's `build` (tsc -p ...).
# This also validates the vite builds for the apps.
typecheck:
name: Typecheck & build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9.12.0
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build (tsc typecheck + app bundles)
run: pnpm -r build
test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9.12.0
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test (vitest)
run: pnpm test