We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0a7b6c + 623d20f commit eed8460Copy full SHA for eed8460
1 file changed
.github/workflows/publish-to-pypi.yml .github/workflows/publish.yml.github/workflows/publish-to-pypi.yml renamed to .github/workflows/publish.yml
@@ -1,4 +1,4 @@
1
-name: Publish to PyPI
+name: Publish to PyPI & NPM
2
3
on:
4
release:
@@ -40,7 +40,10 @@ jobs:
40
path: npm-dist/
41
- name: Publish to npm
42
run: |
43
- npm publish npm-dist/*.tgz --access public
+ pushd npm-dist
44
+ FILE=$(echo *.tgz)
45
+ npm publish "$FILE" --provenance --access public
46
+ popd
47
env:
48
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49
shell: bash
0 commit comments