We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e188b4 commit ed09e94Copy full SHA for ed09e94
.github/workflows/publish.yml
@@ -32,6 +32,11 @@ jobs:
32
node-version: '18.x'
33
registry-url: 'https://registry.npmjs.org'
34
35
+ # Configure npm for Trusted Publishers
36
+ - run: |
37
+ npm config set provenance true
38
+ npm config delete //registry.npmjs.org/:_authToken || true
39
+
40
# npm ci命令类似于 npm install 但它旨在用于自动化环境,如测试平台,持续集成和部署
41
# 可以帮助捕获由大多数 npm 用户的增量安装的本地环境引起的错误或不一致
42
- run: pnpm install
0 commit comments