Skip to content

Commit

Permalink
💚 ci: 修正 ci 发布问题
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Apr 21, 2023
1 parent 7c6071b commit f1486b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: 📦 构建 npm 包
run: pnpm run build

# npm 8 和 9 会在 `npm version` 时执行依赖树命令,进而报错退出
# Refs: https://github.com/semantic-release/npm/issues/540
- name: Setup npm 7
run: npm i -g npm@7 --registry=https://registry.npmjs.org

- name: 🚀 npm 包发布
run: pnpm run release
env:
Expand Down

0 comments on commit f1486b3

Please sign in to comment.