Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ jobs:
- name: Install
run: bun install

- name: Verify npm auth
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
if [ -z "${NODE_AUTH_TOKEN:-}" ]; then
echo "::error::NPM_TOKEN secret is not set — add it under Settings → Secrets → Actions"
exit 1
fi
# npm whoami 用 ~/.npmrc 里的 token 拉用户名;token 错的话会 401/403
whoami=$(npm whoami)
echo "✓ npm authenticated as: $whoami"

- name: Build all packages
run: bun run build

Expand Down
Loading