Skip to content

ci: warn when dist/ is out of date after build#1

Open
daltonbr wants to merge 2 commits intomasterfrom
feature/dist-staleness-check
Open

ci: warn when dist/ is out of date after build#1
daltonbr wants to merge 2 commits intomasterfrom
feature/dist-staleness-check

Conversation

@daltonbr
Copy link
Owner

Adds a non-blocking CI step that warns when dist/ hasn't been rebuilt after source or dependency changes.

What it does

After npm run all, checks if dist/index.js was modified. If stale, emits a ::warning:: annotation visible in the GitHub UI and prints a diff summary. Always exits 0 — Renovate auto-merges are unaffected.

Why

Renovate dependency updates (including lock file maintenance) can affect bundled transitive dependencies without triggering a dist/ rebuild. This makes the staleness visible without blocking anything.

@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

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