vue.js - 纱线在后台服务
问题描述
我正在尝试在我的 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 一样。
解决方案
推荐阅读
- ios - 如何在不失去对旧 iOS 版本的支持的情况下采用暗模式?
- postgresql - Postgres:事务上的ShareLock死锁
- sql-server - 为什么 SSMS 17.x 及更高版本不支持 SSIS
- javascript - 使用 jquery 创建星级评分表
- python - 如何解决 Django 中的“中止”问题?
- reactjs - 文档更新后 Firestore 文档 ID 丢失
- c++ - 如何仅使用函数名从 DLL 调用函数?C++
- database - 如何从返回 id 的下拉列表中获取显示的值?
- c# - 如何在 .Net Core 3、Visual Studio 2019 和 docker 中使用“dotnet watch run”
- python - socket.recv() 接收的字节数少于预期