ci: migrate to Node.js/npm and add Trusted Publishing support#19
Merged
nicomiguelino merged 2 commits intomainfrom May 2, 2026
Merged
ci: migrate to Node.js/npm and add Trusted Publishing support#19nicomiguelino merged 2 commits intomainfrom
nicomiguelino merged 2 commits intomainfrom
Conversation
- Replace oven-sh/setup-bun with actions/setup-node@v6 (Node.js 24) - Replace bun install/run commands with npm ci/run equivalents - Add package-lock.json for reproducible installs - Add id-token: write permission for OIDC-based npm Trusted Publishing - Replace bun publish + NPM_TOKEN with npm publish --provenance
Contributor
There was a problem hiding this comment.
Pull request overview
Migrates the project’s GitHub Actions workflows from Bun to Node.js/npm, and updates the release pipeline to publish to npm using Trusted Publishing (OIDC + provenance) instead of an NPM_TOKEN secret.
Changes:
- Switch CI jobs from
oven-sh/setup-bun+bun install/runtoactions/setup-node+npm ci/npm run. - Update release workflow to use
npm publish --provenanceand enableid-token: writepermissions for OIDC.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Migrates all CI jobs from Bun commands to npm equivalents on Node.js 24. |
.github/workflows/release.yml |
Migrates release job to Node.js/npm and switches publishing to npm Trusted Publishing with provenance via OIDC. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
oven-sh/setup-bunwithactions/setup-node@v6(Node.js 24) in all CI jobsbun install/bun runwithnpm ci/npm runequivalentspackage-lock.jsonfor reproducible installs--provenance), removing theNPM_TOKENsecret dependencyPrerequisites before next release tag
Configure Trusted Publishers on npmjs.com for
@screenly/edge-apps:Screenly/edge-apps-libraryrelease.ymlOnce configured, the
NPM_TOKENsecret can be removed from the repo settings.