Skip to content

Commit d66478f

Browse files
committed
fix: Update GitHub Actions workflow for semantic-release configuration
1 parent c25ac05 commit d66478f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,13 @@ jobs:
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
1921

2022
- name: Use Node.js
2123
uses: actions/setup-node@v4
22-
with:
23-
node-version: 18
24-
25-
- name: Install dependencies
26-
run: npm ci
2724

2825
- name: Run semantic-release
2926
env:
3027
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE }}
31-
run: npx semantic-release --branches main
28+
run: npx semantic-release --branches main --plugins "@semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/github"

0 commit comments

Comments
 (0)