diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5e43515119..6a12044e8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,11 +14,8 @@ jobs: if: github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - with: - ref: main - - - uses: actions/checkout@v4 + - name: Checkout Branch + uses: actions/checkout@v4 - name: Setup Node 20 uses: actions/setup-node@v4 @@ -41,12 +38,10 @@ jobs: lighthouse: name: Lighthouse CI runs-on: ubuntu-22.04 + needs: comment-previews steps: - - uses: actions/checkout@v4 - with: - ref: main - - - uses: actions/checkout@v4 + - name: Checkout Branch + uses: actions/checkout@v4 - name: Setup Node 20 uses: actions/setup-node@v4 @@ -94,11 +89,8 @@ jobs: if: github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 - with: - ref: main - - - uses: actions/checkout@v4 + - name: Checkout Branch + uses: actions/checkout@v4 - name: Setup Node 20 uses: actions/setup-node@v4 @@ -135,11 +127,8 @@ jobs: if: github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - with: - ref: main - - - uses: actions/checkout@v4 + - name: Checkout Branch + uses: actions/checkout@v4 - name: Setup Node 20 uses: actions/setup-node@v4 @@ -175,11 +164,8 @@ jobs: if: github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - with: - ref: main - - - uses: actions/checkout@v4 + - name: Checkout Branch + uses: actions/checkout@v4 - name: Setup Node 20 uses: actions/setup-node@v4