Skip to content

fix npm publish#76

Merged
simongdavies merged 1 commit intohyperlight-dev:mainfrom
simongdavies:fix-publish
Apr 23, 2026
Merged

fix npm publish#76
simongdavies merged 1 commit intohyperlight-dev:mainfrom
simongdavies:fix-publish

Conversation

@simongdavies
Copy link
Copy Markdown
Member

This pull request updates the npm upgrade step in the GitHub Actions workflow to use a more reliable installation method, addressing a known issue with npm self-upgrades on self-hosted runners.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 23, 2026 12:56
@simongdavies simongdavies added the bug Something isn't working label Apr 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the npm upgrade step in the release publish workflow to avoid npm’s self-upgrade failure mode on self-hosted runners, ensuring the workflow can reliably reach the minimum npm version required for OIDC trusted publishing.

Changes:

  • Replace npm install -g npm@... with an npx-bootstrapped npm invocation to perform the global npm install.
  • Expand inline workflow comments to document the underlying npm self-upgrade issue and rationale for the workaround.

@simongdavies simongdavies merged commit 330c5a6 into hyperlight-dev:main Apr 23, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants