Skip to content

Commit

Permalink
condition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Duda committed Apr 11, 2024
1 parent e83aece commit fe071c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test-and-deploy-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ jobs:
id: check-package-version
run: echo "version=$(node ./.github/shouldVersionBePublishedCheck.js)" >> "$GITHUB_OUTPUT"
shell: bash

publish:
name: Publish to npm if package version changed
needs: run-tests
runs-on: ubuntu-latest
if: ${{needs.run-tests.outputs.version}} == 1
if: ${{needs.run-tests.outputs.version}} != 0
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down

0 comments on commit fe071c2

Please sign in to comment.