|
|
@ -32,7 +32,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Checkout 🛎️ |
|
|
|
- name: Checkout 🛎️ |
|
|
|
uses: actions/checkout@v3 |
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
|
|
- name: merge |
|
|
|
- name: merge |
|
|
|
uses: mtanzi/action-automerge@v1 |
|
|
|
uses: mtanzi/action-automerge@v1 |
|
|
@ -43,29 +43,13 @@ jobs: |
|
|
|
target: 'main' |
|
|
|
target: 'main' |
|
|
|
continue-on-error: true |
|
|
|
continue-on-error: true |
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/setup-node@v2 |
|
|
|
- name: 'Automated Version Bump' |
|
|
|
with: |
|
|
|
id: version-bump |
|
|
|
node-version: "12.x" |
|
|
|
uses: 'phips28/gh-action-bump-version@master' |
|
|
|
registry-url: https://registry.npmjs.org/ |
|
|
|
env: |
|
|
|
token: ${{secrets.NPM_TOKEN}} |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
- run: npm version patch |
|
|
|
|
|
|
|
- uses: JS-DevTools/npm-publish@v1 |
|
|
|
- uses: JS-DevTools/npm-publish@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
token: ${{secrets.NPM_TOKEN}} |
|
|
|
token: ${{secrets.NPM_TOKEN}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: commit |
|
|
|
|
|
|
|
id: commit |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
git config --global user.email aisuru@foxmail.com |
|
|
|
|
|
|
|
git config --global user.name action_bot |
|
|
|
|
|
|
|
git add . |
|
|
|
|
|
|
|
git commit -m "update npm version" |
|
|
|
|
|
|
|
continue-on-error: true |
|
|
|
|
|
|
|
- name: Check on failures |
|
|
|
|
|
|
|
if: steps.commit.outputs.status == 'failure' |
|
|
|
|
|
|
|
run: exit 1 |
|
|
|
|
|
|
|
- name: Push changes |
|
|
|
|
|
|
|
uses: ad-m/github-push-action@master |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
|
|
|