Skip to content

Switch to NPM trusted publishing#420

Merged
Half-Shot merged 2 commits intomainfrom
hs/fix-npm-trusted-pub
Jan 2, 2026
Merged

Switch to NPM trusted publishing#420
Half-Shot merged 2 commits intomainfrom
hs/fix-npm-trusted-pub

Conversation

@Half-Shot
Copy link
Member

For https://gh.io/all-npm-classic-tokens-revoked etc, we need to move to using trusted publishing. I've just copied the workflows we have for other repositories.

@Half-Shot Half-Shot requested a review from a team as a code owner January 2, 2026 11:35
@Half-Shot Half-Shot requested review from t3chguy and removed request for a team January 2, 2026 11:35
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 2, 2026

Deploying compound-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 263550f
Status: ✅  Deploy successful!
Preview URL: https://15eb7b7b.compound-web.pages.dev
Branch Preview URL: https://hs-fix-npm-trusted-pub.compound-web.pages.dev

View logs

Comment on lines 44 to +54
id: npm-publish
uses: JS-DevTools/npm-publish@7f8fe47b3bea1be0c3aec2b717c5ec1f3e03410b # v4
with:
token: ${{ secrets.ELEMENT_NPM_TOKEN }}
access: public
run: |
npm publish --access public --provenance
Copy link
Member

Choose a reason for hiding this comment

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

This won't work, L61-L63 refers to outputs from this which no longer exist

@Half-Shot Half-Shot requested a review from t3chguy January 2, 2026 12:05
@Half-Shot Half-Shot merged commit 9203ec7 into main Jan 2, 2026
7 of 8 checks passed
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.

2 participants