diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3a1a21f..b2f90f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,6 +37,7 @@ jobs: registry-url: https://npm.pkg.github.com - name: Confirm release version + if: github.event_name == 'release' run: | PACKAGE_VERSION="$(node -p "require('./packages/analytics/package.json').version")" test "v${PACKAGE_VERSION}" = "${GITHUB_REF_NAME}"