From 8845d518935499b5e614879d82c310c2298db0eb Mon Sep 17 00:00:00 2001 From: zerod li Date: Thu, 17 Oct 2024 17:32:51 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e4d1d0..cb82263 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: