0.0.120 #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bump version | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
bump-version: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- run: git config --global user.email ${{ secrets.GIT_USER_EMAIL }} | |
- run: git config --global user.name "GitHub Actions" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm version patch | |
- name: Git push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GIT_USER_TOKEN }} | |
branch: main | |
tags: true | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: src | |
path: ./ |