Skip to content

Commit

Permalink
ci: fix playright configuration and use default container
Browse files Browse the repository at this point in the history
  • Loading branch information
relu91 committed Dec 13, 2024
1 parent 66baa5d commit 926252c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/browser-test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# docs https://playwright.dev/docs/ci-intro#setting-up-github-actions
name: Browser Tests

on:
Expand All @@ -8,21 +9,20 @@ on:
branches: [master]

jobs:
browser:
test:
runs-on: ubuntu-latest
container: mcr.microsoft.com/playwright:v1.39.0 # https://playwright.dev/docs/ci-intro#via-containers
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"

- name: Install Dependencies
run: npm ci

- name: Test Browser
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Test with browser bundle
timeout-minutes: 2
run: |
npm run test:browser

0 comments on commit 926252c

Please sign in to comment.