release.yml 646 B

1234567891011121314151617181920
  1. name: release
  2. on: create
  3. jobs:
  4. release:
  5. runs-on: ubuntu-latest
  6. if: github.event.ref_type == 'tag' && !contains(github.event.ref, 'alpha')
  7. steps:
  8. - uses: actions/checkout@v4
  9. - name: release
  10. uses: actions/setup-node@v4
  11. with:
  12. node-version: 20
  13. - run: |
  14. npm i -g lerna@^6 && npm run bootstrap
  15. node scripts/release.js
  16. env:
  17. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  18. CHANGELOG_PATH: content/start/changelog/index.md, content/start/changelog/index-en-US.md