fix(gha): install correct chromium versions in CI

This commit is contained in:
ndom91 2024-05-05 19:33:48 +02:00
parent 736395f41f
commit c3c12bedd1
No known key found for this signature in database
3 changed files with 4 additions and 6 deletions

View File

@ -23,14 +23,13 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm dlx playwright install --with-deps chromium
run: pnpm dlx playwright@1.40.0 install --with-deps chromium
- name: Run ubuntu/chrome snapshots
run: cd app && pnpm test:e2e
env:
CI: true
- run: ls -lah .
- uses: actions/upload-artifact@v3
if: always()
if: ${{ !cancelled() }}
with:
name: playwright-report
path: app/playwright-report/

4
app/.gitignore vendored
View File

@ -23,7 +23,7 @@ vite.config.ts.timestamp-*
.pnpm-store
# playwright
test-results.json
test-results*
playwright-report
cdp.png
board.png

View File

@ -6,7 +6,6 @@ import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e/playwright',
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
reporter: process.env.CI ? 'list' : 'html',
projects: [
{
name: 'Google Chrome',