update-minor-version.yml 673 B

123456789101112131415161718192021222324252627
  1. name: Update minor version
  2. on:
  3. workflow_dispatch
  4. jobs:
  5. update-dep:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v2
  9. - uses: actions/setup-node@v1
  10. with:
  11. node-version: '14.x'
  12. - name: Update minor
  13. run: |
  14. npm --no-git-tag-version version patch
  15. - name: Create Pull Request
  16. uses: peter-evans/create-pull-request@v3
  17. with:
  18. commit-message: Update minor version
  19. title: Update minor version
  20. body: |
  21. - Update minor version in package.json
  22. Auto-generated by Github Actions
  23. branch: update-minor-version