release.yml 518 B

12345678910111213141516171819202122
  1. name: release
  2. on:
  3. push:
  4. tags:
  5. - 'v*'
  6. jobs:
  7. release:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: release
  12. uses: actions/setup-node@v2
  13. with:
  14. node-version: 14
  15. - run: |
  16. npm i -g lerna && npm run bootstrap
  17. node scripts/release.js
  18. env:
  19. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  20. CHANGELOG_PATH: content/start/changelog/index.md, content/start/changelog/index-en-US.md