Skip to content

Commit b929585

Browse files
committed
fix: correcting issue with node
1 parent 48df88f commit b929585

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/js.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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')
@@ -51,4 +51,4 @@ jobs:
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

0 commit comments

Comments
 (0)