chore(ci): fix commit release

[release]
This commit is contained in:
Clark Du 2020-01-20 21:19:10 +00:00 committed by Pooya Parsa
parent 1b87123023
commit 39d6dd5b19

View File

@ -270,25 +270,24 @@ jobs:
needs: build
release-commit:
runs-on: ${{ matrix.os }}
if: github.event_name == 'push' && contains(github.event.head_commit.message, '[release]')
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
steps:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: restore workspace cache
uses: actions/cache@v1
with:
path: ${{ github.workspace }}
key: ${{ matrix.os }}-node-v${{ matrix.node }}-nuxt-${{ github.sha }}
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: bump version
run: yarn lerna version --yes --no-git-tag-version --no-push