Skip to content

Commit

Permalink
Remove the job dependancy
Browse files Browse the repository at this point in the history
  • Loading branch information
jayasanka-sack committed Sep 5, 2024
1 parent 46f00f9 commit 7e877d4
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ jobs:


run-patient-management-e2e-tests:
needs: changes
if: ${{ needs.changes.outputs.test-changes == 'true' }}
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Checkout repo
Expand All @@ -130,24 +131,12 @@ jobs:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
run: yarn install --immutable

- name: Setup local cache server for Turborepo
uses: felixmosh/turborepo-gh-artifacts@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}

- name: Build apps
run: yarn turbo run build --color --concurrency=5

- name: Run dev server
run: bash e2e/support/github/run-e2e-docker-env.sh

- name: Install Playwright Browsers
run: npx playwright install chromium --with-deps

- name: Checkout to the repo's main branch
uses: actions/checkout@v4
with:
Expand All @@ -160,7 +149,6 @@ jobs:
working-directory: e2e_repo

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --immutable
working-directory: e2e_repo

Expand Down

0 comments on commit 7e877d4

Please sign in to comment.