mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
chore(ci): fix commit release
[release]
This commit is contained in:
parent
1b87123023
commit
39d6dd5b19
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user