Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to PyPI
name: Publish to PyPI & NPM

on:
release:
Expand Down Expand Up @@ -40,7 +40,10 @@ jobs:
path: npm-dist/
- name: Publish to npm
run: |
npm publish npm-dist/*.tgz --access public
pushd npm-dist
FILE=$(echo *.tgz)
npm publish "$FILE" --provenance --access public
popd
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
shell: bash