gitlab-runner 提交代码无法运行

gitlab-ci.yml 文件内容

cache:
  key: ${CI_BUILD_REF_NAME}
  paths:
    - server/node_modules/
stages:
  - install_or_run
 
install_or_run:
  stage: install_or_run
  only:
    - feature_2.1.30_domestic_optimization
  script:
    - echo '开始安装依赖'
    - cd ./server
    - npm install
    - npm run start-test

报错信息
image.png

在注册的时候我选择:
Please enter the executor: docker-ssh, parallels, ssh, virtualbox, custom, docker, shell, docker+machine, docker-ssh+machine, kubernetes:

#写 shell

阅读 1.9k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进