Skip to content

Commit

Permalink
Adjust the workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
RandilaP committed Aug 16, 2023
1 parent b1f6df4 commit a19f50c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ jobs:
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn setup

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

- name: Run dev server
run: yarn run:omrs develop --sources packages/apps/esm-login-app --port 8180 & # Refer to O3-1994
run: yarn run:omrs develop --sources packages/apps/esm-*-app --port 8180 & # Refer to O3-1994

- name: Run E2E tests
run: yarn playwright test
Expand Down Expand Up @@ -80,11 +79,10 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn setup

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

- name: Run db and web containers
run: |
Expand Down

0 comments on commit a19f50c

Please sign in to comment.