[chore]: re add registry-url to `release.yml`

Merged
SE
9mo ago
+10-1

why

  • to fix alpha releases which were failing

what changed

  • this PR adds back the the registry-url config to the setup-node step, which is required for trusted publishing

Summary by cubic

Restores npm registry config and updates the Node setup step to v6 for Trusted Publishing, fixing failing alpha releases.

  • Bug Fixes
    • Configure Trusted Publishing: set registry-url via setup-node v6 with Node 20.x and upgrade npm to latest.
    • Set checkout fetch-depth to 0 to include full git history.