Skip to content

fix publish workflow#77

Merged
simongdavies merged 2 commits intohyperlight-dev:mainfrom
simongdavies:update-publish
Apr 23, 2026
Merged

fix publish workflow#77
simongdavies merged 2 commits intohyperlight-dev:mainfrom
simongdavies:update-publish

Conversation

@simongdavies
Copy link
Copy Markdown
Member

This pull request updates the npm publishing workflow to improve security and meet npm sigstore provenance requirements. The main change is splitting the packaging and publishing steps: the npm package tarball is now built on a self-hosted runner and then published from a GitHub-hosted runner, which is required for trusted publishing.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 23, 2026 15:27
@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 publishing workflow to satisfy npm sigstore provenance constraints by separating package creation (self-hosted) from publishing (GitHub-hosted).

Changes:

  • Split the previous combined npm publish job into pack-npm (self-hosted) and publish-npm (GitHub-hosted).
  • Upload the packed *.tgz as a workflow artifact and publish that artifact from a GitHub-hosted runner.
  • Move the “upgrade npm for trusted publishing” step to the GitHub-hosted publish job.

Comment thread .github/workflows/publish.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@simongdavies simongdavies merged commit 6e5ea92 into hyperlight-dev:main Apr 23, 2026
12 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