Skip to content

Switch deploy workflow to npm trusted publishing#26

Merged
bombillazo merged 1 commit into
mainfrom
task/npm-trusted-publishing
Mar 12, 2026
Merged

Switch deploy workflow to npm trusted publishing#26
bombillazo merged 1 commit into
mainfrom
task/npm-trusted-publishing

Conversation

@bombillazo
Copy link
Copy Markdown
Owner

Summary

  • Replace NPM_TOKEN secret-based auth with OIDC trusted publishing
  • Add id-token: write permission for provenance signing
  • Switch from pnpm publish to npm publish --provenance
  • Remove manual .npmrc token configuration step

Setup required

After merging, configure trusted publishing on npmjs.com:

  1. Go to package settings → Publishing access
  2. Add trusted publisher: repo bombillazo/error-x, workflow deploy.yml, environment production
  3. Remove the NPM_TOKEN secret from GitHub repo settings

@bombillazo bombillazo merged commit 68a709a into main Mar 12, 2026
3 checks passed
@bombillazo bombillazo deleted the task/npm-trusted-publishing branch March 12, 2026 02:35
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (757f59d) to head (0a62207).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         1160      1160           
  Branches       250       201   -49     
=========================================
  Hits          1160      1160           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant