Skip to content

Commit

Permalink
chore: publish from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Sep 8, 2024
1 parent e7a801d commit b78cbeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
run: printf '%s\n' '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}' registry=https://registry.npmjs.org/ always-auth=true >> .npmrc
- name: Publish
working-directory: ${{env.working-directory}}
run: npm publish --provenance --tag next
run: npm publish --prefix dist --provenance --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion js-library/scripts/publish-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ NPM_SHASUM=$(curl -s "$NPM_TARBALL" 2>&1 | shasum | cut -f1 -d' ')
if [ "$LOCAL_SHASUM" == "$NPM_SHASUM" ]; then
echo "No changes in @dfinity/verifiable-credentials need to be published to NPM."
else
npm publish --provenance --access public
npm publish --prefix dist --provenance --access public
fi

0 comments on commit b78cbeb

Please sign in to comment.