From 7c2d002ddb7846044adf64b77938808111ea15ca Mon Sep 17 00:00:00 2001 From: Timothy Le Bon Date: Wed, 11 Dec 2024 18:41:44 +0100 Subject: [PATCH] chore: updatimg PR commit id --- .github/workflows/precommit.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/precommit.yml b/.github/workflows/precommit.yml index e66f58a9ba7..115ed732d90 100644 --- a/.github/workflows/precommit.yml +++ b/.github/workflows/precommit.yml @@ -29,6 +29,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - name: Setup Node.js uses: actions/setup-node@v4 @@ -42,18 +45,6 @@ jobs: - name: Update configuration run: yarn configure - # - name: Test - # run: | - # set -o pipefail - # yarn test --detectOpenHandles=false 2>&1 | tee ${{ env.UNIT_TEST_REPORT_FILE }} - # echo -e "COMMIT SHA = ${{ github.sha }}" >> ${{env.UNIT_TEST_REPORT_FILE}} - # echo -e "TEST RUN DATE = $(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> ${{env.UNIT_TEST_REPORT_FILE}} - - # - uses: actions/upload-artifact@v4 - # with: - # name: 'unit-tests-report' - # path: ${{env.UNIT_TEST_REPORT_FILE}} - - name: Build run: yarn build:prod