Skip to content

Commit 178f5d0

Browse files
committed
feat: configure multi-semantic-release for automated publishing
Replace single-package npm publish with multi-semantic-release to handle workspace packages. Add required semantic-release dependencies. Co-authored-by: llm-git <[email protected]> Ticket: BTC-2741
1 parent 3a8d6bf commit 178f5d0

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/publish.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
git config user.name "github-actions[bot]"
5252
git config user.email "github-actions[bot]@users.noreply.github.com"
5353
54-
- name: Release (npm publish via OIDC)
55-
working-directory: packages/wasm-utxo
56-
run: npm publish
54+
- name: Install dependencies
55+
run: npm ci --workspaces --include-workspace-root
56+
57+
- name: Release (multi-semantic-release)
58+
run: npx multi-semantic-release

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
},
1515
"devDependencies": {
1616
"prettier": "^3.3.2",
17-
"lerna": "^9.0.0"
17+
"lerna": "^9.0.0",
18+
"semantic-release": "^24.0.0",
19+
"@semantic-release/commit-analyzer": "^12.0.0",
20+
"@semantic-release/release-notes-generator": "^12.0.0",
21+
"@semantic-release/npm": "12.0.1",
22+
"multi-semantic-release": "3.0.2"
1823
}
1924
}

0 commit comments

Comments
 (0)