- 使用 npm ci --include=dev 安装开发依赖 - 确保 jest 等测试框架可用 - 修复 unit-tests 步骤失败问题
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ steps:
|
|||||||
NODE_ENV: test
|
NODE_ENV: test
|
||||||
CI: true
|
CI: true
|
||||||
commands:
|
commands:
|
||||||
- npm ci
|
- npm ci --include=dev
|
||||||
- npm run test:coverage:check
|
- npm run test:coverage:check
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/npm-cache:/root/.npm
|
- /tmp/npm-cache:/root/.npm
|
||||||
|
|||||||
Reference in New Issue
Block a user