Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ci: update test branch condition
  • Loading branch information
danielroe committed Jan 19, 2023
1 parent ca8f9b8 commit 331a2d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/windows.yml
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -51,7 +51,6 @@ jobs:
packages/*/dist
key: ${{ matrix.os }}-node-v${{ matrix.node }}-nuxt-${{ github.sha }}


test-unit:
runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit 331a2d7

Please sign in to comment.