【发布时间】:2019-10-07 18:46:42
【问题描述】:
您能否就如何处理这个问题给我一些建议。
构建管道
npm install
package.json
"dependencies": {
"cypress": "^3.4.1"
}
发布
Powershell 命令
npm ./node_modules/.bin/Cypress run
The cypress npm package is installed, but the Cypress binary is missing.
2019-10-07T18:04:59.5720120Z We expected the binary to be installed here:
有一些关于如何缓存 ~/.npm 的示例,但到目前为止似乎没有任何效果。有关如何在您的 vsts 中包含 cypress.io 的示例是在构建阶段,而不是在发布之后。
【问题讨论】:
-
你的错误有更新吗?我的回答对您的问题有帮助吗?
标签: cypress azure-pipelines-release-pipeline