diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 3011d0a..35ce6a0 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -36,7 +36,7 @@ jobs: PKG_VERSION="$(npm search videx-wellog -json true | jq .[].version -r)" echo "Online version: $PKG_VERSION" LOCAL_VERSION="$(cat package.json | jq .version -r)" - if ! printf "$LOCAL_VERSION\n$PKG_VERSION" | sort -V -C; then BUMP=true; else BUMP=false; fi; + if ! printf "$LOCAL_VERSION\n$PKG_VERSION" | sort -V -C; then BUMP='true'; else BUMP='false'; fi; echo $BUMP >> $GITHUB_OUTPUT - name: Publish if: ${{steps.compare.outputs.BUMP == 'true'}} && github.event.pull_request.merged = true