Skip to content

Commit

Permalink
ci(browser-test): fix branch configuration and minor styling
Browse files Browse the repository at this point in the history
  • Loading branch information
relu91 committed Dec 13, 2024
1 parent 6cb33d5 commit 66baa5d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/browser-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ name: Browser Tests
on:
workflow_dispatch:
push:
branches: [main]
branches: [master]
pull_request:
branches: [main]
branches: [master]

jobs:
browser:
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
Expand All @@ -24,9 +23,6 @@ jobs:
run: npm ci

- name: Test Browser
# only run on latest node version, no reason to run on all
timeout-minutes: 2
env:
HOME: /root
run: |
npm run test:browser

0 comments on commit 66baa5d

Please sign in to comment.