Skip to content

Commit

Permalink
Radical simplifications
Browse files Browse the repository at this point in the history
  • Loading branch information
hirasso committed Nov 14, 2023
1 parent e147f7e commit 6bd0f09
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,7 @@ jobs:
with:
node-version: 18

# Cache playwright and dependencies
# @see https://playwrightsolutions.com/playwright-github-action-to-cache-the-browser-binaries/
- name: Get installed Playwright version
id: playwright-version
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV
- name: Cache playwright binaries
uses: actions/cache@v3
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}

- run: npm ci
- run: npx playwright install --with-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'
- run: npx playwright install-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'

- run: npm run build

- name: Run playwright tests
run: npx playwright test --config ./tests/config/playwright.config.ts
- run: npx playwright install --with-deps
- run: npx playwright test --config ./tests/config/playwright.config.ts

0 comments on commit 6bd0f09

Please sign in to comment.