Skip to content

Commit

Permalink
Merge pull request #26 from ludbek/feat/release-workflow
Browse files Browse the repository at this point in the history
Feat/release workflow
  • Loading branch information
ludbek authored Aug 10, 2022
2 parents 9f8ee69 + 9cc78c9 commit 9c10835
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ jobs:
# Run tests
poetry run pytest
publish-npm:
publish:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: ./.github/actions/setup
- run: |
poetry publish
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# Pull request trigger works only for PRs into main branch
pull_request:
branches:
- main
- master
push:
# Push only works for tags.
# Will be executed on push or successful merge into main.
Expand Down

0 comments on commit 9c10835

Please sign in to comment.