Skip to content

Commit

Permalink
chore(workflow): add npm provenance to npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
jailln authored and Desplandis committed Oct 11, 2023
1 parent 5143c25 commit cb29ab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' }}
needs: [unit-and-coverage-tests, functional-tests, check-commit-message]
runs-on: ubuntu-latest
permissions:
id-token: write
steps:

- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"watch": "cross-env BABEL_DISABLE_CACHE=1 babel --watch src --out-dir lib",
"changelog": "conventional-changelog -n ./config/conventionalChangelog/config.js -i changelog.md -s",
"bump": "if [ -z $npm_config_level ]; then grunt bump:minor; else grunt bump:$npm_config_level; fi && npm run changelog && git add -A && git commit --amend --no-edit",
"publish-next": "npm version prerelease --preid next && npm publish --access public --tag=next",
"publish-latest": "npm publish --access public --tag=latest"
"publish-next": "npm version prerelease --preid next && npm publish --access public --tag=next --provenance",
"publish-latest": "npm publish --access public --tag=latest --provenance"
},
"nyc": {
"exclude": [
Expand Down

0 comments on commit cb29ab6

Please sign in to comment.