From 0474a451d1ec1d933ca8772954195c0f604f059f Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Tue, 2 Jan 2024 16:37:20 -0500 Subject: [PATCH] Unit tests in GitHub CI should test the PR/branch (#276) --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8236717..cf846d8b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - run: npm ci && npm run build - run: npm test