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