Skip to content

Commit

Permalink
Add provenance to publish-dev-release-react-transition-presence workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse-mm committed Jun 30, 2023
1 parent 0cb90ac commit b353009
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
jobs:
bump-version:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write

steps:
- name: Check out source
uses: actions/checkout@v3
Expand Down Expand Up @@ -43,6 +47,6 @@ jobs:
- name: Publish
run: |
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
npm publish -w packages/react-transition-presence --tag next
npm publish -w packages/react-transition-presence --tag next --provenance
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b353009

Please sign in to comment.