Skip to content
Closed
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
20 changes: 19 additions & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,22 @@ jobs:

- name: Publish package
run: npm publish
# No NODE_AUTH_TOKEN needed - OIDC handles authentication
# No NODE_AUTH_TOKEN needed - OIDC handles authentication

# npm deprecate only marks versions that already exist, so the version just published
# installs without a warning until someone re-runs it. OIDC covers publish only, and
# this repo deliberately holds no npm token, so a maintainer runs it by hand.
- name: Remind to mark the new version deprecated
env:
MESSAGE: "fireblocks-sdk is deprecated and reaches end-of-life (no further updates or fixes) on Nov 1, 2026. Existing installs continue to work. Migrate to @fireblocks/ts-sdk — https://developers.fireblocks.com/reference/sdk-migration-guide"
run: |
echo "::warning title=Mark this release deprecated::This version installs without a deprecation warning until a fireblocks-sdk maintainer on npm runs the command in this run's summary."
{
echo "## Mark this release deprecated on npm"
echo
echo "Run this from an npm account that maintains \`fireblocks-sdk\`. It marks every version, including the one just published:"
echo
echo '```'
printf 'npm deprecate fireblocks-sdk "%s"\n' "$MESSAGE"
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
Loading