Repository navigation
Install the shared CAIL packages from public npm - #17
Merged
Merged
Conversation
cail-log 0.6.4, cail-identity 5.2.6 and cail-client 6.2.2 are now on the public npm registry, so neither CI nor the release host needs a GitHub Packages credential to install them. Map the @CUNY-AI-Lab scope to registry.npmjs.org in .npmrc, regenerate pnpm-lock.yaml against npm, and remove the token plumbing: the CI registry setup and NODE_AUTH_TOKEN, the packages: read permissions, and the release host's temporary .npmrc that fed the SSH-supplied token to pnpm. The host still uses that token to verify the release source, and now asserts the tracked .npmrc points at npm. NODE_AUTH_TOKEN is no longer a deployment credential, so the production-environment contract stops listing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The shared
@cuny-ai-labpackages (cail-log 0.6.4, cail-identity 5.2.6, cail-client 6.2.2) are now on public npm. Slide Maker already pinned those versions; this moves CI and the release host off GitHub Packages so installs need no token.Changes
.npmrc: scope mapped tohttps://registry.npmjs.org.pnpm-lock.yaml: the three packages resolve from npm (0npm.pkg.github.comURLs; only their integrity lines changed).ci.yml: removedpackages: read,registry-url/scope, andNODE_AUTH_TOKEN.deploy.yml: removedpackages: read.scripts/release/host.mjs: dropped the temporary.release-npmrcthat passed the SSH-supplied token topnpm install; asserts the tracked.npmrcnow points at npm. The token is still used to verify the release source through the GitHub API.scripts/release/contract.mjs+ test:NODE_AUTH_TOKENis no longer a deployment credential, so it is no longer in the rejected application-environment keys (GITHUB_TOKENrejection and its test remain).Verified (clean
HOME, emptyNODE_AUTH_TOKEN, pnpm 9.15.0)pnpm install --frozen-lockfile,pnpm --filter @slide-maker/web check,pnpm build,pnpm test(724 passed, 8 skipped),node --test scripts/release/*.test.mjs(14 passed),playwright test --config e2e/fleet.config.ts(1 passed): all exit 0.🤖 Generated with Claude Code