diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml index ba579f2..c351240 100644 --- a/.github/workflows/node.yaml +++ b/.github/workflows/node.yaml @@ -55,8 +55,8 @@ jobs: if [ -z "${{ secrets.NPM_TOKEN }}" ]; then echo "No Token" else - PACKAGE_NAME=@sofie-automation/sorensen - PUBLISHED_VERSION=$(yarn info -s $PACKAGE_NAME version) + + PUBLISHED_VERSION=$(yarn npm info --json . | jq -c '.version' -r) THIS_VERSION=$(node -p "require('./package.json').version") # Simple bash helper to comapre version numbers verlte() {