Saltstack Official Syslog-NG Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 satır
1.1KB

  1. stages:
  2. - commitlint
  3. - name: release
  4. if: branch = master AND type != pull_request
  5. jobs:
  6. include:
  7. # Define the commitlint stage
  8. - stage: commitlint
  9. language: node_js
  10. node_js: lts/*
  11. before_install: skip
  12. script:
  13. - npm install @commitlint/config-conventional -D
  14. - npm install @commitlint/travis-cli -D
  15. - commitlint-travis
  16. # Define the release stage that runs semantic-release
  17. - stage: release
  18. language: node_js
  19. node_js: lts/*
  20. before_install: skip
  21. script:
  22. # Update `AUTHORS.md`
  23. - export MAINTAINER_TOKEN=${GH_TOKEN}
  24. - go get github.com/myii/maintainer
  25. - maintainer contributor
  26. # Install all dependencies required for `semantic-release`
  27. - npm install @semantic-release/changelog@3 -D
  28. - npm install @semantic-release/exec@3 -D
  29. - npm install @semantic-release/git@7 -D
  30. deploy:
  31. provider: script
  32. skip_cleanup: true
  33. script:
  34. # Run `semantic-release`
  35. - npx semantic-release@15