Skip to content

Commit bc78beb

Browse files
committed
chore(deps): add semantic-release packages and update workflow command
- Added semantic-release and related plugins to package.json for automated versioning and release management. - Updated the release command in the GitHub Actions workflow to use the simplified `npx semantic-release` command.
1 parent 0a48b61 commit bc78beb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/publish-to-npm-alpha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Release
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
run: npx -p @semantic-release/npm@latest -p @semantic-release/github@latest -p @semantic-release/commit-analyzer@latest -p @semantic-release/release-notes-generator@latest semantic-release@latest
30+
run: npx semantic-release
3131
test:
3232
runs-on: ubuntu-latest
3333
steps:

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@
4747
"lint-staged": "^8.1.4",
4848
"ts-jest": "^26.1.0",
4949
"ts-node": "^8.0.2",
50-
"typescript": "^3.9.5"
50+
"typescript": "^3.9.5",
51+
"semantic-release": "^24.0.0",
52+
"@semantic-release/npm": "^13.0.0",
53+
"@semantic-release/github": "^12.0.0",
54+
"@semantic-release/commit-analyzer": "^13.0.0",
55+
"@semantic-release/release-notes-generator": "^14.0.0"
5156
},
5257
"husky": {
5358
"hooks": {

0 commit comments

Comments
 (0)