Skip to content

Commit caa2563

Browse files
committed
chore: update git flow
1 parent 1fefbd6 commit caa2563

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/node.js.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# version: next-8
2929

3030
- name: Install yarn
31-
run: npm i yarn@1
31+
run: npm i -g yarn@1
3232

3333
- name: Use Node.js ${{ matrix.node-version }}
3434
uses: actions/setup-node@v3
@@ -40,13 +40,13 @@ jobs:
4040
run: yarn install
4141

4242
- name: Build
43-
run: npm run build --if-present
43+
run: yarn run build --if-present
4444

4545
- name: Test
46-
run: npm test
46+
run: yarn test
4747

4848
- name: Test docs
49-
run: npm run coverage
49+
run: yarn run coverage
5050

5151
unit-test-windows:
5252
runs-on: windows-latest
@@ -65,7 +65,7 @@ jobs:
6565
# version: next-8
6666

6767
- name: Install yarn
68-
run: npm i yarn@1
68+
run: npm i -g yarn@1
6969

7070
- name: Use Node.js ${{ matrix.node-version }}
7171
uses: actions/setup-node@v3
@@ -77,10 +77,10 @@ jobs:
7777
run: yarn install
7878

7979
- name: Build
80-
run: npm run build --if-present
80+
run: yarn run build --if-present
8181

8282
- name: Test
83-
run: npm test
83+
run: yarn test
8484

8585
- name: Test docs
86-
run: npm run coverage
86+
run: yarn run coverage

.github/workflows/release-tag.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
name: Create Release Tag
2+
13
on:
24
push:
35
tags:
46
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
57

6-
name: Create Release
7-
8-
permissions: {}
98
jobs:
109
build:
1110
name: Create Release

0 commit comments

Comments
 (0)