Skip to content

Commit

Permalink
chore: adds job dependency to lighthouse test (#4882)
Browse files Browse the repository at this point in the history
* chore: adds job dependency to lighthouse test

* chore: remove duplicate checkout

---------

Co-authored-by: Rúben Carvalho <[email protected]>
  • Loading branch information
caseyisonit and rubencarvalho authored Nov 6, 2024
1 parent d704692 commit bd35e1b
Showing 1 changed file with 11 additions and 25 deletions.
36 changes: 11 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bd35e1b

Please sign in to comment.