Skip to content

Commit 96f9b6b

Browse files
committed
ci: use local semantic-release on main
Replace cycjimmy action extra_plugins npm install; add plugins as devDependencies and run yarn exec semantic-release. Made-with: Cursor
1 parent 09f06f6 commit 96f9b6b

3 files changed

Lines changed: 2759 additions & 17 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,7 @@ jobs:
5151
5252
- name: Semantic Release
5353
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
54-
uses: cycjimmy/semantic-release-action@v3
55-
with:
56-
extra_plugins: |
57-
@semantic-release/changelog
58-
@semantic-release/exec
59-
@semantic-release/git
54+
run: yarn exec semantic-release
6055
env:
6156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6257
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
"yaml": "^2.3.2"
3030
},
3131
"devDependencies": {
32+
"@semantic-release/changelog": "^6.0.3",
33+
"@semantic-release/commit-analyzer": "^13.0.1",
34+
"@semantic-release/exec": "^7.1.0",
35+
"@semantic-release/git": "^10.0.1",
36+
"@semantic-release/github": "^12.0.6",
37+
"@semantic-release/npm": "^13.1.5",
38+
"@semantic-release/release-notes-generator": "^14.1.0",
3239
"@types/js-yaml": "^4.0.5",
3340
"@types/json-schema": "^7.0.12",
3441
"@types/node": "^20.5.7",
@@ -38,6 +45,7 @@
3845
"eslint": "^8.48.0",
3946
"eslint-plugin-jest": "^27.2.3",
4047
"jest": "^29.6.4",
48+
"semantic-release": "^25.0.3",
4149
"ts-jest": "^29.1.1",
4250
"tsc": "^2.0.4",
4351
"typescript": "^5.2.2"

0 commit comments

Comments
 (0)