Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
registry-url: https://registry.npmjs.org

- name: Validate release tag matches package version
Expand Down
2 changes: 2 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- Publishing is handled by GitHub Actions via `.github/workflows/publish.yml`.
- npm publishing uses trusted publishing with GitHub OIDC; no long-lived npm token or PAT is required.
- The publish job runs in the `npm-release` GitHub environment.
- `package.json` must include a `repository.url` that exactly matches `https://github.com/ScopeLift/stealth-address-sdk`.
- The npm package's trusted publisher settings must exactly match `ScopeLift/stealth-address-sdk`, workflow `publish.yml`, and environment `npm-release`.
- Release tags publish to npm with the default `latest` dist-tag.
- The publish job fails unless the tag version matches `package.json` and the tag points at the latest `main` commit.

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"types": "dist/index.d.ts",
"module": "dist/index.js",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/ScopeLift/stealth-address-sdk.git"
},
"files": [
"dist/config",
"dist/index.d.ts",
Expand Down
Loading