coinbase / cbpay-js

Coinbase Pay SDK
MIT License
317 stars 142 forks source link

Add permissions to npm-publish action to enable provenance #284

Closed steveviselli-cb closed 3 weeks ago

steveviselli-cb commented 3 weeks ago

Description & motivation

Our new NPM publish workflow failed because of some missing permissions: https://github.com/coinbase/cbpay-js/actions/runs/9489681461/job/26151544199

The fix for this is documented here - https://docs.npmjs.com/generating-provenance-statements

Testing & documentation