Skip to content

fix: remove GitHub registry auth steps for npm install#233

Merged
jairo-bc merged 1 commit intomasterfrom
ci/remove-github-registry-auth
Apr 1, 2026
Merged

fix: remove GitHub registry auth steps for npm install#233
jairo-bc merged 1 commit intomasterfrom
ci/remove-github-registry-auth

Conversation

@jairo-bc
Copy link
Copy Markdown
Contributor

@jairo-bc jairo-bc commented Apr 1, 2026

What/Why?

Remove the two steps that configure @bigcommerce-labs registry auth in .npmrc before npm i. The job was passing before these steps existed, so they are not actually required to resolve @bigcommerce-labs/bodl-events.

Rollout/Rollback

CI/CD configuration change only. Rollback by reverting this PR.

Testing

Verify npm i succeeds in CI without the GitHub Packages auth steps.


Note

Low Risk
Low risk CI/CD-only change that removes GitHub Packages auth setup from the release workflow; main risk is npm i or release failing if private scoped packages are still required in this job.

Overview
Simplifies the release.yml GitHub Actions workflow by removing the steps that write @bigcommerce-labs GitHub Packages registry and auth token config into ~/.npmrc before running npm i.

The release job now relies on the default npm configuration while keeping the existing build, commitlint, and npm run release steps unchanged.

Written by Cursor Bugbot for commit 2b4ce22. This will update automatically on new commits. Configure here.

These steps were never required — the job was passing before them,
proving the @bigcommerce-labs packages resolve without explicit
GitHub Packages authentication.

Co-Authored-By: Claude <noreply@anthropic.com>
@jairo-bc jairo-bc changed the title ci: remove GitHub registry auth steps for npm install fix: remove GitHub registry auth steps for npm install Apr 1, 2026
@jairo-bc jairo-bc marked this pull request as ready for review April 1, 2026 10:27
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

with:
node-version: '22.x'

# this is crucial for bodl-events package to be able to resolve @bigcommerce-labs scoped packages
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Registry auth removed inconsistently across workflow files

Medium Severity

The GitHub Packages auth steps for @bigcommerce-labs are removed from release.yml but remain in build.yml. The package-lock.json resolves @bigcommerce-labs/bodl-events from https://npm.pkg.github.com/, which typically requires authentication. If auth is truly unnecessary, the steps in build.yml are now redundant dead code; if auth is actually needed, npm i in the release workflow will fail when fetching this dependency.

Fix in Cursor Fix in Web

@jairo-bc jairo-bc merged commit 0ac2779 into master Apr 1, 2026
4 checks passed
jairo-bc added a commit that referenced this pull request Apr 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

🎉 This PR is included in version 6.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants