Skip to content

Commit 790182e

Browse files
committed
fix: limit installed browsers to chromium and fix trubo config
1 parent fce5c3a commit 790182e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/pr-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ jobs:
100100
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
101101
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
102102
restore-keys: |
103-
${{ runner.os }}-pnpm-store-
103+
${{ runner.os }}-pnpm-store-
104104
105105
- name: Install dependencies
106106
run: pnpm install
107107

108108
- name: Install Playwright Browsers
109-
run: pnpm exec playwright install --with-deps
109+
run: pnpm exec playwright install chromium --with-deps
110110
working-directory: packages/new-compiler
111111

112112
- name: Configure Turbo cache

packages/new-compiler/playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export default defineConfig({
3838
/* Configure projects for major browsers */
3939
projects: [
4040
{
41+
// If we need more than one browser at some point, add them to CI browser installation step too.
4142
name: "chromium",
4243
use: { ...devices["Desktop Chrome"] },
4344
},

turbo.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"^build"
1818
]
1919
},
20-
"prepare:e2e": {
20+
"test:e2e:prepare": {
2121
"dependsOn": [
2222
"^build"
2323
]
2424
},
2525
"test:e2e": {
2626
"dependsOn": [
27-
"prepare:e2e"
27+
"test:e2e:prepare"
2828
]
2929
},
3030
"deploy": {

0 commit comments

Comments
 (0)