Skip to content

Commit a9dcdb8

Browse files
authored
test: Skip double installing playwright in E2E tests (#14633)
We do install this on CI separately before, so this should not be necessary (esp. we do not need firefox, as we only run these tests on chromium). This should shave off about 20s of the `build` step for all the E2E tests!
1 parent a9cfd11 commit a9dcdb8

File tree

50 files changed

+95
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+95
-86
lines changed

.github/actions/install-playwright/action.yml

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ inputs:
44
browsers:
55
description: 'What browsers to install.'
66
default: 'chromium webkit firefox'
7+
cwd:
8+
description: 'The working directory to run Playwright in.'
9+
default: '.'
710

811
runs:
912
using: "composite"
@@ -12,6 +15,8 @@ runs:
1215
id: playwright-version
1316
run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT
1417
shell: bash
18+
working-directory: ${{ inputs.cwd }}
19+
1520

1621
- name: Restore cached playwright binaries
1722
uses: actions/cache/restore@v4
@@ -26,11 +31,13 @@ runs:
2631
run: npx playwright install chromium webkit firefox --with-deps
2732
if: steps.playwright-cache.outputs.cache-hit != 'true'
2833
shell: bash
34+
working-directory: ${{ inputs.cwd }}
2935

3036
- name: Install Playwright system dependencies only (cached)
3137
run: npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }}
3238
if: steps.playwright-cache.outputs.cache-hit == 'true'
3339
shell: bash
40+
working-directory: ${{ inputs.cwd }}
3441

3542
# Only store cache on develop branch
3643
- name: Store cached playwright binaries

.github/workflows/build.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -920,11 +920,6 @@ jobs:
920920
if: steps.restore-tarball-cache.outputs.cache-hit != 'true'
921921
run: yarn build:tarball
922922

923-
- name: Install Playwright
924-
uses: ./.github/actions/install-playwright
925-
with:
926-
browsers: chromium
927-
928923
- name: Get node version
929924
id: versions
930925
run: |
@@ -945,6 +940,12 @@ jobs:
945940
timeout-minutes: 7
946941
run: pnpm ${{ matrix.build-command || 'test:build' }}
947942

943+
- name: Install Playwright
944+
uses: ./.github/actions/install-playwright
945+
with:
946+
browsers: chromium
947+
cwd: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
948+
948949
- name: Run E2E test
949950
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
950951
timeout-minutes: 10
@@ -984,7 +985,7 @@ jobs:
984985

985986
# - We skip optional tests on release branches
986987
job_optional_e2e_tests:
987-
name: E2E ${{ matrix.label || matrix.test-application }} Test
988+
name: E2E ${{ matrix.label || matrix.test-application }} Test (optional)
988989
# We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks
989990
# We need to add the `always()` check here because the previous step has this as well :(
990991
# See: https://github.com/actions/runner/issues/2205
@@ -1039,11 +1040,6 @@ jobs:
10391040
if: steps.restore-tarball-cache.outputs.cache-hit != 'true'
10401041
run: yarn build:tarball
10411042

1042-
- name: Install Playwright
1043-
uses: ./.github/actions/install-playwright
1044-
with:
1045-
browsers: chromium
1046-
10471043
- name: Get node version
10481044
id: versions
10491045
run: |
@@ -1064,6 +1060,12 @@ jobs:
10641060
timeout-minutes: 7
10651061
run: pnpm ${{ matrix.build-command || 'test:build' }}
10661062

1063+
- name: Install Playwright
1064+
uses: ./.github/actions/install-playwright
1065+
with:
1066+
browsers: chromium
1067+
cwd: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
1068+
10671069
- name: Run E2E test
10681070
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
10691071
timeout-minutes: 10

dev-packages/e2e-tests/test-applications/angular-17/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",
1111
"test": "playwright test",
12-
"test:build": "pnpm install && npx playwright install && pnpm build",
12+
"test:build": "pnpm install && pnpm build",
1313
"test:assert": "playwright test",
1414
"clean": "npx rimraf .angular node_modules pnpm-lock.yaml dist"
1515
},

dev-packages/e2e-tests/test-applications/angular-18/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",
1111
"test": "playwright test",
12-
"test:build": "pnpm install && npx playwright install && pnpm build",
12+
"test:build": "pnpm install && pnpm build",
1313
"test:assert": "playwright test",
1414
"clean": "npx rimraf .angular node_modules pnpm-lock.yaml dist"
1515
},

dev-packages/e2e-tests/test-applications/angular-19/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",
1111
"test": "playwright test",
12-
"test:build": "pnpm install && npx playwright install && pnpm build",
12+
"test:build": "pnpm install && pnpm build",
1313
"test:assert": "playwright test",
1414
"clean": "npx rimraf .angular node_modules pnpm-lock.yaml dist"
1515
},

dev-packages/e2e-tests/test-applications/astro-4/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "astro check && astro build",
99
"preview": "astro preview",
1010
"astro": "astro",
11-
"test:build": "pnpm install && npx playwright install && pnpm build",
11+
"test:build": "pnpm install && pnpm build",
1212
"test:assert": "TEST_ENV=production playwright test"
1313
},
1414
"dependencies": {

dev-packages/e2e-tests/test-applications/astro-5/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "astro build",
88
"preview": "astro preview",
99
"astro": "astro",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
1111
"test:assert": "TEST_ENV=production playwright test"
1212
},
1313
"dependencies": {

dev-packages/e2e-tests/test-applications/create-next-app/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"clean": "npx rimraf node_modules pnpm-lock.yaml .next",
88
"test:prod": "TEST_ENV=prod playwright test",
99
"test:dev": "TEST_ENV=dev playwright test",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
11-
"test:build-13": "pnpm install && pnpm add [email protected] && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
11+
"test:build-13": "pnpm install && pnpm add [email protected] && pnpm build",
1212
"test:assert": "pnpm test:prod && pnpm test:dev"
1313
},
1414
"dependencies": {

dev-packages/e2e-tests/test-applications/create-remix-app-express-legacy/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"start": "cross-env NODE_ENV=production node ./server.mjs",
1010
"typecheck": "tsc",
1111
"clean": "npx rimraf node_modules pnpm-lock.yaml",
12-
"test:build": "pnpm install && npx playwright install && pnpm build",
12+
"test:build": "pnpm install && pnpm build",
1313
"test:assert": "pnpm playwright test"
1414
},
1515
"dependencies": {

dev-packages/e2e-tests/test-applications/create-remix-app-express-vite-dev/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "cross-env NODE_ENV=production node ./server.mjs",
99
"typecheck": "tsc",
1010
"clean": "npx rimraf node_modules pnpm-lock.yaml",
11-
"test:build": "pnpm install && npx playwright install && pnpm build",
11+
"test:build": "pnpm install && pnpm build",
1212
"test:assert": "pnpm playwright test"
1313
},
1414
"dependencies": {

dev-packages/e2e-tests/test-applications/create-remix-app-express/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"start": "cross-env NODE_ENV=production node ./server.mjs",
1010
"typecheck": "tsc",
1111
"clean": "npx rimraf node_modules pnpm-lock.yaml",
12-
"test:build": "pnpm install && npx playwright install && pnpm build",
12+
"test:build": "pnpm install && pnpm build",
1313
"test:assert": "pnpm playwright test"
1414
},
1515
"dependencies": {

dev-packages/e2e-tests/test-applications/create-remix-app-legacy/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "remix-serve build",
99
"typecheck": "tsc",
1010
"clean": "npx rimraf node_modules pnpm-lock.yaml",
11-
"test:build": "pnpm install && npx playwright install && pnpm build",
11+
"test:build": "pnpm install && pnpm build",
1212
"test:assert": "pnpm playwright test",
1313
"test:assert-sourcemaps": "pnpm upload-sourcemaps"
1414
},

dev-packages/e2e-tests/test-applications/create-remix-app-v2-legacy/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "remix-serve build/index.js",
88
"typecheck": "tsc",
99
"clean": "npx rimraf node_modules pnpm-lock.yaml",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
1111
"test:assert": "pnpm playwright test"
1212
},
1313
"dependencies": {

dev-packages/e2e-tests/test-applications/create-remix-app-v2/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "NODE_OPTIONS='--require=./instrument.server.cjs' remix-serve build/index.js",
88
"typecheck": "tsc",
99
"clean": "npx rimraf node_modules pnpm-lock.yaml",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
1111
"test:assert": "pnpm playwright test"
1212
},
1313
"dependencies": {

dev-packages/e2e-tests/test-applications/create-remix-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "NODE_OPTIONS='--require=./instrument.server.cjs' remix-serve build",
99
"typecheck": "tsc",
1010
"clean": "npx rimraf node_modules pnpm-lock.yaml",
11-
"test:build": "pnpm install && npx playwright install && pnpm build",
11+
"test:build": "pnpm install && pnpm build",
1212
"test:assert": "pnpm playwright test",
1313
"test:assert-sourcemaps": "pnpm upload-sourcemaps"
1414
},

dev-packages/e2e-tests/test-applications/default-browser/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build": "node build.mjs",
1313
"test": "playwright test",
1414
"clean": "npx rimraf node_modules pnpm-lock.yaml",
15-
"test:build": "pnpm install && npx playwright install && pnpm build",
15+
"test:build": "pnpm install && pnpm build",
1616
"test:assert": "pnpm test"
1717
},
1818
"browserslist": {

dev-packages/e2e-tests/test-applications/ember-classic/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"build": "ember build --environment=production",
1616
"start": "ember serve --prod",
1717
"test": "playwright test",
18-
"test:build": "pnpm install && npx playwright install && pnpm build",
19-
"test:build-latest": "pnpm install && pnpm add ember-source@latest && npx playwright install && pnpm build",
18+
"test:build": "pnpm install && pnpm build",
19+
"test:build-latest": "pnpm install && pnpm add ember-source@latest && pnpm build",
2020
"test:assert": "playwright test",
2121
"clean": "npx rimraf node_modules pnpm-lock.yaml dist"
2222
},

dev-packages/e2e-tests/test-applications/ember-embroider/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"build": "ember build --environment=production",
1616
"start": "ember serve --prod",
1717
"test": "playwright test",
18-
"test:build": "pnpm install && npx playwright install && pnpm build",
19-
"test:build-latest": "pnpm install && pnpm add ember-source@latest && npx playwright install && pnpm build",
18+
"test:build": "pnpm install && pnpm build",
19+
"test:build-latest": "pnpm install && pnpm add ember-source@latest && pnpm build",
2020
"test:assert": "playwright test",
2121
"clean": "npx rimraf node_modules pnpm-lock.yaml dist"
2222
},

dev-packages/e2e-tests/test-applications/nextjs-13/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"clean": "npx rimraf node_modules pnpm-lock.yaml .next",
88
"test:prod": "TEST_ENV=production playwright test",
99
"test:dev": "TEST_ENV=development playwright test",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
11-
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && npx playwright install && pnpm build",
12-
"test:build-latest": "pnpm install && pnpm add next@latest && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
11+
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && pnpm build",
12+
"test:build-latest": "pnpm install && pnpm add next@latest && pnpm build",
1313
"test:assert": "pnpm test:prod && pnpm test:dev"
1414
},
1515
"dependencies": {

dev-packages/e2e-tests/test-applications/nextjs-14/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"clean": "npx rimraf node_modules pnpm-lock.yaml",
88
"test:prod": "TEST_ENV=production playwright test",
99
"test:dev": "TEST_ENV=development playwright test",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
11-
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && npx playwright install && pnpm build",
12-
"test:build-latest": "pnpm install && pnpm add next@latest && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
11+
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && pnpm build",
12+
"test:build-latest": "pnpm install && pnpm add next@latest && pnpm build",
1313
"test:assert": "pnpm test:prod && pnpm test:dev"
1414
},
1515
"dependencies": {

dev-packages/e2e-tests/test-applications/nextjs-15/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"clean": "npx rimraf node_modules pnpm-lock.yaml",
88
"test:prod": "TEST_ENV=production playwright test",
99
"test:dev": "TEST_ENV=development playwright test",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
11-
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
11+
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && pnpm build",
1212
"//": "15.0.0-canary.194 is the canary release attached to Next.js RC 1. We need to use the canary version instead of the RC because PPR will not work without. The specific react version is also attached to RC 1.",
13-
"test:build-latest": "pnpm install && pnpm add [email protected] && pnpm add [email protected] && pnpm add [email protected] && npx playwright install && pnpm build",
13+
"test:build-latest": "pnpm install && pnpm add [email protected] && pnpm add [email protected] && pnpm add [email protected] && pnpm build",
1414
"test:assert": "pnpm test:prod && pnpm test:dev"
1515
},
1616
"dependencies": {

dev-packages/e2e-tests/test-applications/nextjs-app-dir/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"clean": "npx rimraf node_modules pnpm-lock.yaml",
88
"test:prod": "TEST_ENV=production playwright test",
99
"test:dev": "TEST_ENV=development playwright test",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
1111
"test:test-build": "pnpm ts-node --script-mode assert-build.ts",
12-
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && npx playwright install && pnpm build",
13-
"test:build-latest": "pnpm install && pnpm add next@latest && npx playwright install && pnpm build",
14-
"test:build-13": "pnpm install && pnpm add [email protected] && npx playwright install && pnpm build",
12+
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && pnpm build",
13+
"test:build-latest": "pnpm install && pnpm add next@latest && pnpm build",
14+
"test:build-13": "pnpm install && pnpm add [email protected] && pnpm build",
1515
"test:assert": "pnpm test:test-build && pnpm test:prod && pnpm test:dev"
1616
},
1717
"dependencies": {

dev-packages/e2e-tests/test-applications/nextjs-t3/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"clean": "npx rimraf node_modules pnpm-lock.yaml",
99
"test:prod": "TEST_ENV=production playwright test",
1010
"test:dev": "TEST_ENV=development playwright test",
11-
"test:build": "pnpm install && npx playwright install && pnpm build",
12-
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && npx playwright install && pnpm build",
13-
"test:build-latest": "pnpm install && pnpm add next@rc && pnpm add react@beta && pnpm add react-dom@beta && npx playwright install && pnpm build",
11+
"test:build": "pnpm install && pnpm build",
12+
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@beta && pnpm add react-dom@beta && pnpm build",
13+
"test:build-latest": "pnpm install && pnpm add next@rc && pnpm add react@beta && pnpm add react-dom@beta && pnpm build",
1414
"test:assert": "pnpm test:prod && pnpm test:dev"
1515
},
1616
"dependencies": {

dev-packages/e2e-tests/test-applications/nextjs-turbo/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"clean": "npx rimraf node_modules pnpm-lock.yaml",
88
"test:prod": "TEST_ENV=production playwright test",
99
"test:dev": "TEST_ENV=development playwright test",
10-
"test:build": "pnpm install && npx playwright install && pnpm build",
11-
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@canary && pnpm add react-dom@canary && npx playwright install && pnpm build",
12-
"test:build-latest": "pnpm install && pnpm add next@latest && pnpm add react@rc && pnpm add react-dom@rc && npx playwright install && pnpm build",
10+
"test:build": "pnpm install && pnpm build",
11+
"test:build-canary": "pnpm install && pnpm add next@canary && pnpm add react@canary && pnpm add react-dom@canary && pnpm build",
12+
"test:build-latest": "pnpm install && pnpm add next@latest && pnpm add react@rc && pnpm add react-dom@rc && pnpm build",
1313
"test:assert": "pnpm test:prod && pnpm test:dev"
1414
},
1515
"dependencies": {

dev-packages/e2e-tests/test-applications/nuxt-3-dynamic-import/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"start": "node .output/server/index.mjs",
1111
"clean": "npx nuxi cleanup",
1212
"test": "playwright test",
13-
"test:build": "pnpm install && npx playwright install && pnpm build",
13+
"test:build": "pnpm install && pnpm build",
1414
"test:assert": "pnpm test"
1515
},
1616
"dependencies": {

dev-packages/e2e-tests/test-applications/nuxt-3-min/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"start:import": "node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs",
1313
"clean": "npx nuxi cleanup",
1414
"test": "playwright test",
15-
"test:build": "pnpm install && npx playwright install && pnpm build",
15+
"test:build": "pnpm install && pnpm build",
1616
"test:assert": "pnpm test"
1717
},
1818
"dependencies": {

dev-packages/e2e-tests/test-applications/nuxt-3-top-level-import/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"start": "node .output/server/index.mjs",
1111
"clean": "npx nuxi cleanup",
1212
"test": "playwright test",
13-
"test:build": "pnpm install && npx playwright install && pnpm build",
13+
"test:build": "pnpm install && pnpm build",
1414
"test:assert": "pnpm test"
1515
},
1616
"dependencies": {

dev-packages/e2e-tests/test-applications/nuxt-3/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"start:import": "node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs",
1212
"clean": "npx nuxi cleanup",
1313
"test": "playwright test",
14-
"test:build": "pnpm install && npx playwright install && pnpm build",
14+
"test:build": "pnpm install && pnpm build",
1515
"test:assert": "pnpm test"
1616
},
1717
"dependencies": {

dev-packages/e2e-tests/test-applications/nuxt-4/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"start:import": "node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs",
1212
"clean": "npx nuxi cleanup",
1313
"test": "playwright test",
14-
"test:build": "pnpm install && npx playwright install && pnpm build",
14+
"test:build": "pnpm install && pnpm build",
1515
"test:assert": "pnpm test"
1616
},
1717
"dependencies": {

dev-packages/e2e-tests/test-applications/react-17/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"start": "serve -s build",
1919
"test": "playwright test",
2020
"clean": "npx rimraf node_modules pnpm-lock.yaml",
21-
"test:build": "pnpm install && npx playwright install && pnpm build",
22-
"test:build-ts3.8": "pnpm install && pnpm add [email protected] && npx playwright install && pnpm build",
23-
"test:build-canary": "pnpm install && pnpm add react@canary react-dom@canary && npx playwright install && pnpm build",
21+
"test:build": "pnpm install && pnpm build",
22+
"test:build-ts3.8": "pnpm install && pnpm add [email protected] && pnpm build",
23+
"test:build-canary": "pnpm install && pnpm add react@canary react-dom@canary && pnpm build",
2424
"test:assert": "pnpm test"
2525
},
2626
"eslintConfig": {

dev-packages/e2e-tests/test-applications/react-19/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"start": "serve -s build",
2121
"test": "playwright test",
2222
"clean": "npx rimraf node_modules pnpm-lock.yaml",
23-
"test:build": "pnpm install && npx playwright install && pnpm build",
23+
"test:build": "pnpm install && pnpm build",
2424
"test:assert": "pnpm test"
2525
},
2626
"eslintConfig": {

0 commit comments

Comments
 (0)