Skip to content
Open
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
5 changes: 2 additions & 3 deletions scripts/snapshot-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,9 @@ NPM_SUCCESS=false
JSR_SUCCESS=true # Default true (only set false if JSR package exists and fails)
JSR_PUBLISHED_VERSION="" # Track JSR version if published

# Publish to npm (token is read from NPM_TOKEN env var via .npmrc)
# GITHUB_ACTIONS=true skips changeset's npm profile check which fails with automation tokens
# Publish to npm (pnpm rewrites workspace:* dependencies before publishing)
echo -e "${BOLD}Publishing to npm...${NC}"
if GITHUB_ACTIONS=true pnpm exec changeset publish --tag snapshot ; then
if pnpm publish --recursive --tag snapshot --no-git-checks ; then
echo -e "${GREEN}✓ npm packages published${NC}"
NPM_SUCCESS=true
else
Expand Down
Loading