.gitlab-ci.yml 364 B

1234567891011121314
  1. stages:
  2. - verify
  3. project-consistency:
  4. stage: verify
  5. image: node:20-alpine
  6. before_script:
  7. - npm install --global @fission-ai/openspec@1.2.0
  8. script:
  9. - cd 04-新项目源码_source/pri-smart-hospital-miniprogram
  10. - npm run validate:all
  11. rules:
  12. - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
  13. - if: '$CI_COMMIT_BRANCH == "develop"'