Skip to content

Commit 331a2d7

Browse files
committed
ci: update test branch condition
1 parent ca8f9b8 commit 331a2d7

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: test
33
on:
44
push:
55
branches:
6-
- dev
6+
- 2.x-dev
77
- 2.x
88
pull_request:
99
branches:
10-
- dev
10+
- 2.x-dev
1111
- 2.x
1212

1313
jobs:
@@ -319,7 +319,7 @@ jobs:
319319
- name: checkout
320320
uses: actions/checkout@master
321321
with:
322-
ref: 'refs/heads/dev'
322+
ref: "refs/heads/dev"
323323
fetch-depth: 0 # All history
324324

325325
- name: fetch tags
@@ -338,7 +338,7 @@ jobs:
338338
- uses: actions/setup-node@v3
339339
with:
340340
node-version: ${{ matrix.node }}
341-
registry-url: 'https://registry.npmjs.org'
341+
registry-url: "https://registry.npmjs.org"
342342

343343
- name: bump version
344344
run: yarn lerna version --yes --no-changelog --no-git-tag-version --no-push --force-publish "*" --loglevel verbose

.github/workflows/windows.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: windows
33
on:
44
push:
55
branches:
6-
- dev
6+
- 2.x-dev
77
- 2.x
88
pull_request:
99
branches:
10-
- dev
10+
- 2.x-dev
1111
- 2.x
1212

1313
jobs:
@@ -32,7 +32,7 @@ jobs:
3232
id: node_modules_cache_id
3333
uses: actions/cache@v3
3434
with:
35-
path: |
35+
path: |
3636
node_modules
3737
packages/*/node_modules
3838
distributions/*/node_modules
@@ -51,7 +51,6 @@ jobs:
5151
packages/*/dist
5252
key: ${{ matrix.os }}-node-v${{ matrix.node }}-nuxt-${{ github.sha }}
5353

54-
5554
test-unit:
5655
runs-on: ${{ matrix.os }}
5756

0 commit comments

Comments
 (0)