ci(gitlab): 移除 sudo 安装 Playwright 依赖的步骤

This commit is contained in:
LingandRX 2025-03-13 19:38:38 +08:00
parent 91e31e348e
commit e2df441b75

View File

@ -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: