From f3e73c6d1b8e3936d518df5427c0c2675ff8e2f5 Mon Sep 17 00:00:00 2001 From: ChristopherPHolder Date: Mon, 20 Nov 2023 12:49:01 +0100 Subject: [PATCH] fix: fix ci job --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b85a7e63f..a03f42f2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,12 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup node uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - run: npm ci - - run: npm run nx -- affected:build - - run: npm run nx -- affected:test --parallel=1 + - run: npm run nx -- affected:build --base=origin/main --head=HEAD + - run: npm run nx -- affected:test --parallel=1 --base=origin/main --head=HEAD