fix(workflow): fix cant publish packages

This commit is contained in:
ElyPrism 2026-05-16 10:40:21 +08:00
parent a366983e99
commit cf74e90c1d
No known key found for this signature in database

View File

@ -22,10 +22,10 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: 20
registry-url: 'https://registry.npmjs.org/'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- name: Publish to NPM
run: npm publish --provenance --access public
run: npm publish --access public
# 发布到 GitHub Packages
- name: Setup Node.js for GitHub Packages