Skip to content

Commit

Permalink
enable publishing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mme committed Apr 25, 2023
1 parent 26d453e commit 55f8ea2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ jobs:
- name: Run bump script
run: ./scripts/dev/bump

# - name: Run build script
# run: ./scripts/dev/build
- name: Run build script
run: ./scripts/dev/build

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

# - name: Publish package on PyPI
# run: python -m twine upload dist/*
# working-directory: pypi
# env:
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Publish package on PyPI
run: python -m twine upload dist/*
working-directory: pypi
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

- name: Commit and push changes
run: |
Expand Down

0 comments on commit 55f8ea2

Please sign in to comment.