Refactor removal policy and harden CI npm auth#21
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
76dc1fd to
eb9b3ae
Compare
This comment has been minimized.
This comment has been minimized.
Consolidate runtime removal flags into a shared policy module to simplify orchestration seams and improve maintainability. Configure the quality-checks workflow to inject NPM_TOKEN for npm.j4k.dev, then restore the managed oxlint-config-j4k setup used by this repository. Made-with: Cursor
This comment has been minimized.
This comment has been minimized.
| cache: "pnpm" | ||
|
|
||
| - name: Configure npm.j4k.dev auth | ||
| if: ${{ env.NPM_TOKEN != '' }} |
There was a problem hiding this comment.
ℹ️ Info: When NPM_TOKEN is missing/empty, this step silently skips and pnpm install --frozen-lockfile later fails with a cryptic registry auth error. The job-level if on line 13 already excludes fork PRs, so the only remaining case where NPM_TOKEN would be empty is a misconfigured repository secret — exactly when a fast, explicit failure helps the maintainer. release-npm.yml (lines 52–55) already does this with [ -z "${NPM_TOKEN}" ] && echo "NPM_TOKEN is required..." && exit 1. Consider matching that pattern here and in .github/workflows/dedupe-check.yml line 36 for consistency.
|
🎉 This PR is included in version 1.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Summary
RemovalPolicyand thread policy through CLI orchestration/removal flownpm.j4k.devauth in checks, release, and dedupe workflows while documenting fork PR secret constraintspublishConfigpackage.jsonenginesTest plan
pnpm format:checkpnpm lintpnpm typecheckpnpm testpnpm buildpnpm knippnpm fta