Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZerodLee authored Oct 17, 2024
1 parent 697966b commit 8845d51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
run: npm run build # 假设你在 package.json 中定义了 "build" 脚本

# Step 5: 发布到 npm
- name: Configure npm to use the correct registry
run: npm config set registry https://registry.npmjs.org/

- name: Publish to npm
run: npm publish
env:
Expand Down

0 comments on commit 8845d51

Please sign in to comment.