Skip to content

chore: ci hardening#3

Merged
brunozoric merged 8 commits intomainfrom
chore/ci-hardening
May 7, 2026
Merged

chore: ci hardening#3
brunozoric merged 8 commits intomainfrom
chore/ci-hardening

Conversation

@brunozoric
Copy link
Copy Markdown
Contributor

No description provided.

brunozoric added 8 commits May 7, 2026 17:33
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.
@brunozoric brunozoric merged commit cc7656f into main May 7, 2026
15 checks passed
@brunozoric brunozoric deleted the chore/ci-hardening branch May 7, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant