Str*_*ch0 1 npm bitbucket-pipelines
试图在我的bitbucket管道构建中运行npm测试脚本并且所有测试都通过但是只是挂起并且不会移动到下一个脚本.
所以我的测试脚本是: "test": "mocha src/**/*.spec.ts --require ts-node/register --reporter spec",
这是在我的bitbucket-pipelines.yml文件中调用
- yarn install
- yarn run test
- yarn run prestart:prod
Run Code Online (Sandbox Code Playgroud)
所以纱线安装运行,纱线测试运行,但然后挂起并运行prestart:prod永远不会运行.
有什么理由它会挂起来吗?我需要设置--watch=false还是其他什么?