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
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user