From d6960a9ba3080fd7db3f6e7cce6ee81f2abb693a Mon Sep 17 00:00:00 2001 From: Jan Starzak Date: Wed, 23 Oct 2024 10:42:22 +0200 Subject: [PATCH] chore: some more fixes for some more CI stuff --- .github/workflows/node.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {