forked from gitea/gitea
Don't install playwright twice (#29302)
1. `playwright/test` is already installed as part of `deps-frontend` on
CI which runs before, so it's better to not install it again (on a
potentially different version), and just use the version from
package.json and add the `deps-frontend` dependency.
2. `PLAYWRIGHT_DIR` is a undefined variable, so I removed it
```bash
$ git show c8ded77680
| grep PLAYWRIGHT_DIR
+playwright: $(PLAYWRIGHT_DIR)
```
This commit is contained in:
parent
2bd999a28b
commit
c236e64aca
3
Makefile
3
Makefile
|
@ -602,8 +602,7 @@ test-mssql\#%: integrations.mssql.test generate-ini-mssql
|
||||||
test-mssql-migration: migrations.mssql.test migrations.individual.mssql.test
|
test-mssql-migration: migrations.mssql.test migrations.individual.mssql.test
|
||||||
|
|
||||||
.PHONY: playwright
|
.PHONY: playwright
|
||||||
playwright: $(PLAYWRIGHT_DIR)
|
playwright: deps-frontend
|
||||||
npm install --no-save @playwright/test
|
|
||||||
npx playwright install $(PLAYWRIGHT_FLAGS)
|
npx playwright install $(PLAYWRIGHT_FLAGS)
|
||||||
|
|
||||||
.PHONY: test-e2e%
|
.PHONY: test-e2e%
|
||||||
|
|
Loading…
Reference in New Issue