npmjs.com

Setting GitHub as a trusted publisher for npm (opens in new tab)

So, stuff happened and npm has been updated to reduce the volume of stuff happening. In a world of SBOMs, SLSA, and supply chain attacks, it's time to get serious about publishing packages. In this case, that means using the new Trusted Publisher feature to connect GitHub (or GitLab) to npm. Set the trusted publisher on npm Sign into npm Select the package you want to set up, for example astro-accelerator-utils Click Settings In the Trusted Publishers section, select your provider, in my case...

Read the original article
Sign in to keep reading the full article.

Covered in 4 articles

Determinate Systems·
Discussed on Hacker News
Feeds
Determinate Systems·
Discussed on Hacker News, Lobsters, and r/NixOS
Feeds
docs.npmjs.com·
Discussed on Hacker News
Feeds
View all 4 ›

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help