fix(release): soft-fail npm publish until package token is scoped
Gitea Release for v0.4.0 succeeded; npm registry returned E401 without write:package. Keep release green and document the token follow-up.
This commit is contained in:
@@ -156,6 +156,9 @@ jobs:
|
||||
"https://git.levkin.ca/api/v1/repos/ilia/playkit/releases/${RELEASE_ID}/assets"
|
||||
- name: Publish to Gitea npm registry
|
||||
# RELEASE_TOKEN (or optional NPM_PUBLISH_TOKEN) needs write:package — docs/NPM_REGISTRY.md
|
||||
# Soft-fail: Gitea Release + tarball already published above; package registry
|
||||
# auth is a separate token scope and should not block the git release.
|
||||
continue-on-error: true
|
||||
run: |
|
||||
TOKEN="${{ secrets.NPM_PUBLISH_TOKEN }}"
|
||||
if [ -z "$TOKEN" ]; then TOKEN="${{ secrets.RELEASE_TOKEN }}"; fi
|
||||
|
||||
Reference in New Issue
Block a user