mirror of
https://github.com/bitbaum/threadkit.git
synced 2026-12-03 20:17:10 +01:00
A GITHUB_TOKEN merge fires no push workflows, and without a workflow_dispatch trigger the auto-merge sweep's re-arm cannot start CI either — PR #27 merged green but left main's tip with no CI run. Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
28 lines
787 B
YAML
28 lines
787 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
# Lets the auto-merge sweep re-arm CI after a GITHUB_TOKEN merge (which
|
|
# fires no push workflows) — without this, merged commits strand with no
|
|
# CI run on main.
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
verify:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
# pnpm version comes from "packageManager" in package.json (SSOT);
|
|
# pnpm/action-setup@v6 errors if both are specified.
|
|
- uses: pnpm/action-setup@v6
|
|
- uses: actions/setup-node@v7
|
|
with:
|
|
node-version: '24'
|
|
cache: pnpm
|
|
- run: pnpm install --frozen-lockfile --ignore-scripts
|
|
# build + the full test suite, identical to what runs locally
|
|
- run: pnpm run verify
|