ci(gitlab): 移除 sudo 安装 Playwright 依赖的步骤
This commit is contained in:
parent
91e31e348e
commit
e2df441b75
@ -12,8 +12,8 @@ playwright_tests:
|
|||||||
- npm config set registry https://registry.npmmirror.com # 使用淘宝镜像
|
- npm config set registry https://registry.npmmirror.com # 使用淘宝镜像
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- sudo npx playwright install-deps
|
|
||||||
- npx playwright install
|
- npx playwright install
|
||||||
|
- npx playwright install-deps
|
||||||
- npx playwright test
|
- npx playwright test
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Reference in New Issue
Block a user