Skip to content

Commit 8bbb11b

Browse files
committed
ci 环境下需要手动 link
1 parent fbfcc97 commit 8bbb11b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/dev-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- run: |
1515
npm install
1616
npm run boot
17+
npm run link
1718
npm run lint
1819
test:
1920
runs-on: ubuntu-latest
@@ -26,6 +27,7 @@ jobs:
2627
- run: |
2728
npm install
2829
npm run boot
30+
npm run link
2931
npm run test
3032
build:
3133
runs-on: ubuntu-latest
@@ -38,4 +40,5 @@ jobs:
3840
- run: |
3941
npm install
4042
npm run boot
43+
npm run link
4144
npm run build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "root",
33
"private": true,
44
"scripts": {
5+
"link": "lerna link",
56
"boot": "lerna bootstrap",
67
"build": "lerna run build --parallel --stream",
78
"dev": "npm run build && lerna run dev --parallel --stream",

0 commit comments

Comments
 (0)