首页 > 解决方案 > 纱线在后台服务

问题描述

我正在尝试在我的 vue 应用程序上配置 gitlab CI/CD 进行 cypress e2e 测试,该应用程序使用 yarn 进行包管理。cypress 文档都是为 npm 编写的cypress gitlab ci/cd 配置教程

# start the server in the background
- npm run start:ci &
# run Cypress tests
- npx cypress run --browser firefox

有没有办法在后台为纱线启动服务器?就像在后台运行 yarn serve 一样。

标签: vue.jsnpmcypressyarnpkg

解决方案


推荐阅读