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