From 630a2bc9abbc0db24c063b213e70e9112b7b1495 Mon Sep 17 00:00:00 2001 From: Marat Shakirov Date: Fri, 13 Sep 2024 10:05:24 +0200 Subject: [PATCH] fix: brach pipeline --- .github/workflows/nx-branch.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nx-branch.yaml b/.github/workflows/nx-branch.yaml index a93f6a96..7260c6d0 100644 --- a/.github/workflows/nx-branch.yaml +++ b/.github/workflows/nx-branch.yaml @@ -22,9 +22,10 @@ jobs: node-version: 18 cache: 'npm' - run: npm ci - - uses: nrwl/nx-set-shas@v3 - # This line is needed for nx affected to work when CI is running on a PR - - run: git branch --track main origin/main + - uses: nrwl/nx-set-shas@v4 + - run: | + echo "BASE: ${{ env.NX_BASE }}" + echo "HEAD: ${{ env.NX_HEAD }}" - name: Set up Python uses: actions/setup-python@v3 with: