Skip to content

Commit

Permalink
DTSPB-2849 - Update playwright.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
MarianIrudayanathan committed Feb 7, 2024
1 parent 54d4cb6 commit 7622f8b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 # Skip downloading during yarn install
PLAYWRIGHT_BROWSERS_PATH: 0 # Places binaries to node_modules/@playwright/test
jobs:
test:
timeout-minutes: 60
Expand All @@ -14,9 +17,12 @@ jobs:
with:
node-version: 18
- name: Install dependencies
run: npm install -g yarn && yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
run: |
npx playwright install-deps
- name: Setup
run: |
yarn install
npx playwright install
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 7622f8b

Please sign in to comment.