Split playwright install back into separate make target

Restore make playwright as a separate target so CI can run it as its
own step before test-e2e.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
silverwind
2026-02-18 03:03:15 +01:00
co-authored by Claude Opus 4.6
parent 03f05abb67
commit 4a0366d696
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -51,5 +51,6 @@ jobs:
INSTALL_LOCK = true
EOF
- run: ./gitea web &
- run: make playwright
- run: E2E_URL=http://localhost:3000 make test-e2e
timeout-minutes: 10
+5 -2
View File
@@ -553,9 +553,12 @@ test-mssql\#%: integrations.mssql.test generate-ini-mssql
.PHONY: test-mssql-migration
test-mssql-migration: migrations.mssql.test migrations.individual.mssql.test
.PHONY: test-e2e
test-e2e: deps-frontend
.PHONY: playwright
playwright: deps-frontend
@$(NODE_VARS) pnpm exec playwright install --with-deps chromium $(PLAYWRIGHT_FLAGS)
.PHONY: test-e2e
test-e2e: playwright
EXECUTABLE=$(EXECUTABLE) ./tools/test-e2e.sh $(E2E_FLAGS)
.PHONY: bench-sqlite