Skip to content

Commit

Permalink
Split out playwright tests in GitHub action
Browse files Browse the repository at this point in the history
So that we don't run these 4 times (each node version).
  • Loading branch information
trotzig committed Dec 13, 2024
1 parent 63978a9 commit e3fba92
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,12 @@ jobs:

- run: yarn install --frozen-lockfile
- run: git log --oneline --graph
- run: yarn build

- name: Run tests
run: ./run-tests.sh
env:
HAPPO_DEBUG: true

- run: npx playwright install
- name: Run Playwright tests
run: yarn test

lint:
runs-on: ubuntu-latest

Expand All @@ -54,3 +49,17 @@ jobs:
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn lint

playwright:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- run: yarn install --frozen-lockfile
- run: yarn build
- run: npx playwright install
- name: Run Playwright tests
run: yarn test

0 comments on commit e3fba92

Please # to comment.