Skip to content

Commit

Permalink
Merge pull request #299 from equinor/sefo/feat/add-npm-publish-wf
Browse files Browse the repository at this point in the history
ci: troubleshoot publish workflow
  • Loading branch information
sefornes authored Jan 28, 2025
2 parents 3d73547 + dddff9d commit e9c4c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9c4c51

Please sign in to comment.