动态菜单和动态路由的 antd pro

123456789101112131415161718192021222324252627
  1. # Test against the latest version of this Node.js version
  2. environment:
  3. nodejs_version: "8"
  4. # this is how to allow failing jobs in the matrix
  5. matrix:
  6. fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
  7. # Install scripts. (runs after repo cloning)
  8. install:
  9. # Get the latest stable version of Node.js or io.js
  10. - ps: Install-Product node $env:nodejs_version
  11. # install modules
  12. - npm install
  13. # Output useful info for debugging.
  14. - node --version
  15. - npm --version
  16. # Post-install test scripts.
  17. test_script:
  18. - npm run lint
  19. - npm run test:all
  20. - npm run build
  21. # Don't actually build.
  22. build: off