ci(gitlab): 在 CI 配置中添加 Playwright 依赖安装步骤
This commit is contained in:
parent
93266d7aa8
commit
439779dd56
@ -12,6 +12,7 @@ playwright_tests:
|
|||||||
- npm config set registry https://registry.npmmirror.com # 使用淘宝镜像
|
- npm config set registry https://registry.npmmirror.com # 使用淘宝镜像
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
|
- npx playwright install-deps
|
||||||
- npx playwright install
|
- npx playwright install
|
||||||
- npx playwright test
|
- npx playwright test
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
Reference in New Issue
Block a user