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