From 9383905d53708c1f98975e94bf54cb7674e0f4fb Mon Sep 17 00:00:00 2001 From: Sagar Rajput Date: Tue, 16 Apr 2024 04:09:13 +0530 Subject: [PATCH] chore: test with code change --- .github/workflows/jest-coverage.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/jest-coverage.yml b/.github/workflows/jest-coverage.yml index 1f26e70745..4c49d2c0bd 100644 --- a/.github/workflows/jest-coverage.yml +++ b/.github/workflows/jest-coverage.yml @@ -47,6 +47,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - run: | + git fetch --no-tags --depth=1 origin develop + git checkout -b develop + git checkout ${{ github.event.pull_request.head.sha }} - name: Install dependencies run: cd frontend && yarn install @@ -57,3 +61,11 @@ jobs: run: cd frontend && npm run test:changedsince env: CI: true + + - name: Run Jest + run: cd frontend && npm run jest + + - name: npm run test:changedsince + run: cd frontend && npm run test:changedsince + env: + CI: true