Skip to content

Commit e0a6d55

Browse files
committed
feat: 优化发布脚本
1 parent 1c3c6ed commit e0a6d55

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/publish beta npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
run: |
2929
git config --local user.email "action@github.com"
3030
git config --local user.name "GitHub Action"
31+
npm install
3132
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
3233
cd packages/${{ github.event.inputs.packagePath }}
3334
npm install --legacy-peer-deps

.github/workflows/publish npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
git config --local user.name "GitHub Action"
3333
3434
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
35+
npm install
3536
cd packages/${{ github.event.inputs.packagePath }}
3637
npm install --legacy-peer-deps
3738
npm version ${{ github.event.inputs.versionType }}

packages/plugin-multiple-editor/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,6 @@
179179
],
180180
"fastPublish": {
181181
"npmClient": "npm"
182-
}
182+
},
183+
"repository": "https://github.com/alibaba/lowcode-plugins.git"
183184
}

0 commit comments

Comments
 (0)