Skip to content

feat: add npm package provenance (#135) #87

feat: add npm package provenance (#135)

feat: add npm package provenance (#135) #87

Workflow file for this run

on:
push:
branches:
- main
name: Release
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: '@web3-storage/w3cli'
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: ./.github/actions/test
if: ${{ steps.release.outputs.release_created }}
- run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}