diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e8d489..1c36741 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: run: yarn test:browser - name: Release dry-run - run: yarn release --dry-run --no-ci --branches "$GITHUB_HEAD_REF" + run: yarn release --dry-run --no-ci --branches "${{ github.base_ref || github.ref_name }}" env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}