Skip to content

Commit

Permalink
chore(github): publish NPM package automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
jbms committed Mar 18, 2024
1 parent a672391 commit 33f4104
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,12 @@ jobs:
user: __token__
password: ${{ secrets.pypi_token }}
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
# Disabling publishing to NPM
# - name: Publish to NPM registry
# if: ${{ startsWith(github.ref, 'refs/tags/v') }}
# run: npm publish
# working-directory: npm-package
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to NPM registry
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: npm publish
working-directory: npm-package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to Firebase hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down

0 comments on commit 33f4104

Please sign in to comment.