File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ jobs:
3535 cd js
3636 npm version --no-git-tag-version "$(node -p "require('./package.json').version")-dev.${GITHUB_RUN_NUMBER}"
3737 echo "Publishing version: $(node -p "require('./package.json').version")"
38- npm publish --tag dev --access public
38+ npm publish --tag dev --access public --provenance
3939
4040 - name : Set release version and publish (main branch)
4141 if : github.ref == 'refs/heads/main'
4242 run : |
4343 cd js
4444 echo "Publishing version: $(node -p "require('./package.json').version")"
45- npm publish --access public
45+ npm publish --access public --provenance
4646
4747 - name : Set release version and publish (tag)
4848 if : startsWith(github.ref, 'refs/tags/v')
5151 TAG_VERSION=${GITHUB_REF_NAME#v}
5252 npm version --no-git-tag-version "${TAG_VERSION}"
5353 echo "Publishing version: ${TAG_VERSION}"
54- npm publish --access public
54+ npm publish --access public --provenance
You can’t perform that action at this time.
0 commit comments