Skip to content

Commit

Permalink
ci: fix playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Jun 17, 2024
1 parent 44d8937 commit 5c63738
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/turbo

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps

- name: Visual Regression
run: pnpm run visual-regression --cache-dir=.turbo --filter @siemens/ix -- --shard ${{ matrix.shard }}

Expand All @@ -57,6 +60,9 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/turbo

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps

- name: Visual Regression
run: pnpm run visual-regression --cache-dir=.turbo --filter @siemens/ix-aggrid

Expand All @@ -78,6 +84,9 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/turbo

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps

- name: Visual Regression
run: pnpm run visual-regression --cache-dir=.turbo --filter @siemens/ix-echarts

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/turbo

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps

- name: Visual Regression
run: pnpm run visual-regression --cache-dir=.turbo --filter @siemens/ix -- --shard ${{ matrix.shard }}

Expand All @@ -115,6 +118,9 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/turbo

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps

- name: Visual Regression
run: pnpm run visual-regression --cache-dir=.turbo --filter @siemens/ix-aggrid

Expand All @@ -137,6 +143,9 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/turbo

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps

- name: Visual Regression
run: pnpm run visual-regression --cache-dir=.turbo --filter @siemens/ix-echarts

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-visual-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
run: pnpm build --cache-dir=.turbo --filter @siemens/ix

- name: Install Playwright Browsers
run: pnpm playwright install --with-deps
run: pnpm exec playwright install chromium --with-deps

- name: Visual Regression
run: pnpm --filter @siemens/ix visual-regression ${{ steps.parse-command.outputs.args }} -u
Expand Down

0 comments on commit 5c63738

Please sign in to comment.