Skip to content

CI npm guidance for JS libraries - #4266

Merged
s-stumbo merged 3 commits into
mainfrom
ci-npm
Oct 21, 2026
Merged

s-stumbo merged 3 commits into
mainfrom
ci-npm

Conversation

@s-stumbo

Copy link
Copy Markdown
Collaborator

[ ] Check if this is a typo or other quick fix and ignore the rest :)

Type of change

Update to JS build configuration

What should this PR do?

Explain how to handle using the configure-npm command in CI. This process is already described in the JS migration guide, so this content just gives more explicit details on it

Why are we making this change?

Requested in DOCS-238

What are the acceptance criteria?

Content should be clear and accurate

How should this PR be tested?

Any documentation published to Chainguard Academy is reviewed carefully for accuracy. GUI procedures, API commands, and CLI code snippets in a draft are run and tested thoroughly — by both the author and the reviewer — to confirm they work exactly as written. This helps ensure that readers can follow along and get the same results. See the edu repo's README.

Signed-off-by: s-stumbo <sally.stumbo@chainguard.dev>
Signed-off-by: s-stumbo <sally.stumbo@chainguard.dev>
@s-stumbo
s-stumbo requested a review from a team as a code owner October 20, 2026 15:39
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
chainguard-docs-preview Ready Ready Preview Oct 20, 2026 4:03pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
chainguard-docs Ignored Ignored Oct 20, 2026 4:03pm UTC

Request Review

@matthewhelmke matthewhelmke left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One non-blocking comment


[This command](/platform/chainctl/chainctl-docs/chainctl_auth_configure-npm/) writes a project-level `.npmrc` with the registry URL and base64-encoded credentials. It also prints the equivalent `npm config set` commands for use in CI or other environments where you need to configure `.npmrc` manually. If this command returns an error, ensure that you are using the [latest version of `chainctl`](/platform/chainctl-usage/how-to-install-chainctl/#updating-chainctl).

For CI/CD, prefer an assumable identity when using this command. Expand the following to learn more:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to say "use" instead of "prefer"? Here and in line 420.

Signed-off-by: s-stumbo <sally.stumbo@chainguard.dev>
@s-stumbo
s-stumbo merged commit da7f5b7 into main Oct 21, 2026
12 checks passed
@s-stumbo
s-stumbo deleted the ci-npm branch October 21, 2026 18:40

This branch was successfully deployed

1 active deployment
Preview – chainguard-docs-preview — 81ff8b93 Deployed Oct 20, 2026 by vercel[bot]
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.

2 participants