mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
ci: update test branch condition
This commit is contained in:
parent
ca8f9b8f74
commit
331a2d724e
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -3,11 +3,11 @@ name: test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- 2.x-dev
|
||||
- 2.x
|
||||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
- 2.x-dev
|
||||
- 2.x
|
||||
|
||||
jobs:
|
||||
@ -319,7 +319,7 @@ jobs:
|
||||
- name: checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: 'refs/heads/dev'
|
||||
ref: "refs/heads/dev"
|
||||
fetch-depth: 0 # All history
|
||||
|
||||
- name: fetch tags
|
||||
@ -338,7 +338,7 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- name: bump version
|
||||
run: yarn lerna version --yes --no-changelog --no-git-tag-version --no-push --force-publish "*" --loglevel verbose
|
||||
|
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
@ -3,11 +3,11 @@ name: windows
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- 2.x-dev
|
||||
- 2.x
|
||||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
- 2.x-dev
|
||||
- 2.x
|
||||
|
||||
jobs:
|
||||
@ -51,7 +51,6 @@ jobs:
|
||||
packages/*/dist
|
||||
key: ${{ matrix.os }}-node-v${{ matrix.node }}-nuxt-${{ github.sha }}
|
||||
|
||||
|
||||
test-unit:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user