ci: update test branch condition

This commit is contained in:
Daniel Roe 2023-01-19 15:03:28 +00:00
parent ca8f9b8f74
commit 331a2d724e
2 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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:
@ -32,7 +32,7 @@ jobs:
id: node_modules_cache_id
uses: actions/cache@v3
with:
path: |
path: |
node_modules
packages/*/node_modules
distributions/*/node_modules
@ -51,7 +51,6 @@ jobs:
packages/*/dist
key: ${{ matrix.os }}-node-v${{ matrix.node }}-nuxt-${{ github.sha }}
test-unit:
runs-on: ${{ matrix.os }}