Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:

mutation:
name: Mutation
# Manual only: run it from the Actions tab (workflow_dispatch) when a change warrants a full mutation pass. It is not a required check and does not gate a release.
if: github.event_name == 'workflow_dispatch'
needs: determine-runner
runs-on: ${{ fromJson(needs.determine-runner.outputs.selected-runner) }}
timeout-minutes: 60
Expand Down Expand Up @@ -174,7 +176,7 @@ jobs:

required-checks:
name: Required Checks
needs: [determine-runner, commitlint, lint, typecheck, package, mutation]
needs: [determine-runner, commitlint, lint, typecheck, package]
# Always runs, even if a dependency failed, so it reports that failure itself rather than being skipped: a required check that is silently absent blocks a PR indefinitely instead of failing it visibly.
if: always()
runs-on: ${{ fromJson(needs.determine-runner.outputs.selected-runner) }}
Expand All @@ -190,7 +192,7 @@ jobs:

release:
name: Release
needs: [commitlint, lint, typecheck, package, mutation]
needs: [commitlint, lint, typecheck, package]
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
# Deliberately a GitHub-hosted runner, not the resolved one: npm trusted publishing only works from GitHub-hosted runners, so the OIDC token exchange cannot happen on the self-hosted fleet or Blacksmith.
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pnpm lint:check # eslint, check only; what CI runs
pnpm typecheck
pnpm test # vitest, with coverage
pnpm build # tsdown: ESM, CJS and declarations
pnpm test:mutation # Stryker, with a 100% break threshold
pnpm test:mutation # Stryker, with a 100% break threshold; CI runs it on manual dispatch only
```

CI also runs `pnpm exec publint` and `pnpm exec attw --pack` after the build. It also installs the packed tarball into a scratch project on each supported Node line and both cosmiconfig majors, and loads a config with `extends` through it as ESM and as CommonJS.
Expand Down