There was an error while loading. Please reload this page.
1 parent 9b219cb commit 0ee8a34Copy full SHA for 0ee8a34
1 file changed
docs/ci-and-release.md
@@ -143,6 +143,19 @@ package: @async/db
143
owner/repo: async-framework/async-db
144
workflow: release.yml
145
environment: none
146
+allowed action: npm publish
147
+```
148
+
149
+Use a current npm CLI when creating the trusted publisher. Older `npm trust`
150
+commands may fail with `E400` because npm now requires an explicit allowed
151
+action:
152
153
+```bash
154
+npx --yes npm@latest trust github @async/db \
155
+ --file release.yml \
156
+ --repo async-framework/async-db \
157
+ --allow-publish
158
+npx --yes npm@latest trust list @async/db
159
```
160
161
Keep the package public through `publishConfig.access: "public"` and the workflow publish command:
0 commit comments