mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 10:33:21 +03:00
fix(gha): install correct chromium versions in CI
This commit is contained in:
parent
736395f41f
commit
c3c12bedd1
@ -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
4
app/.gitignore
vendored
@ -23,7 +23,7 @@ vite.config.ts.timestamp-*
|
||||
.pnpm-store
|
||||
|
||||
# playwright
|
||||
test-results.json
|
||||
test-results*
|
||||
playwright-report
|
||||
cdp.png
|
||||
board.png
|
||||
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user