Skip to content

Commit

Permalink
Added publish package to release
Browse files Browse the repository at this point in the history
  • Loading branch information
cfloressuazo committed Nov 16, 2023
1 parent 1f2ee2f commit abe6eaa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Test Python module
run: nox -s test-${{ matrix.python-version }}
publish:
name: Publish dash-loading-spinners to TestPyPI and PyPI
name: Publish dash-loading-spinners to TestPyPI, PyPI and NPM
runs-on: ubuntu-latest
needs: python-test
steps:
Expand Down Expand Up @@ -108,3 +108,8 @@ jobs:
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Publish package on NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit abe6eaa

Please sign in to comment.