chore: ci hardening#3
Merged
brunozoric merged 8 commits intomainfrom May 7, 2026
Merged
Conversation
adio already installed but had no npm script — adding check:imports so CI and the pre-commit chain can call it uniformly. Coverage thresholds set at 90/80/90/90; current coverage is ~96%, giving ~6 points of headroom before CI breaks on regressions.
Runs lockfile immutability, adio import check, format, lint, typecheck in parallel, then gates build on all passing, then runs test+coverage and pack dry-run in parallel. Also checks that dist/ is not committed.
Neither test (uses TS source via vitest alias) nor pack (rebuilds intentionally) downloads the artifact — the upload was pure waste.
yarn npm audit flags CVEs in installed deps on every push/PR. dependency-review-action blocks PRs that introduce newly vulnerable packages (PR-only because it requires a base ref to diff against).
Enforces the same commit types that the publish script uses for version bumping. An unknown type in a merged PR would cause process.exit(1) at release time — this gates it at PR review instead.
Mutable tag refs can be redirected to arbitrary commits if an action repo is compromised. SHA pins make the supply chain tamper-evident.
Records the plan used to drive the ci-hardening branch work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.