ci(gitlab): 在 CI 配置中添加 Playwright 依赖安装步骤

This commit is contained in:
LingandRX 2025-03-13 19:35:36 +08:00
parent 93266d7aa8
commit 439779dd56

View File

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