Skip to content

Commit 46773d9

Browse files
committed
fix: 🐛 修复npm publish ci脚本
1 parent cae2812 commit 46773d9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/npm-publish.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ jobs:
3939
env:
4040
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4141
- name: ots-orm publish
42-
run: npx semantic-release
42+
run: |
43+
npm install
44+
npm run build
45+
npx semantic-release
4346
if: ${{ contains(github.ref, 'ots-orm')}}
4447
working-directory: ./packages/ots-orm
4548
env:

0 commit comments

Comments
 (0)