Skip to content

Commit

Permalink
fix: E2E test is broken (#46)
Browse files Browse the repository at this point in the history
* fix: Run install instead of CI

* fix: Fix npx args

* fix: Remove extra playwright install

* chore: Cosmetics
  • Loading branch information
megahertz committed May 11, 2024
1 parent edd2ad7 commit f634d50
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,24 @@ on:

jobs:
test:
timeout-minutes: 30
timeout-minutes: 10
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18

- run: npm ci
- run: npm install
- run: npm ci --prefix e2e/cra
- run: npx playwright install chromium --prefix e2e/cra

- run: npm test

- run: npx playwright install --with-deps
- run: npx --prefix e2e/cra playwright install chromium --with-deps
- run: npm run test:e2e

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down

0 comments on commit f634d50

Please sign in to comment.