Skip to content

Commit 5eb8eeb

Browse files
committed
fix: ci/cd install issue
1 parent 2d6fce0 commit 5eb8eeb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: 🚀 Semantic Release
33
on:
44
push:
55
branches:
6-
- main
6+
- production
77

88
permissions:
99
contents: write
@@ -13,7 +13,6 @@ permissions:
1313
jobs:
1414
release:
1515
runs-on: ubuntu-latest
16-
1716
steps:
1817
- name: Checkout
1918
uses: actions/checkout@v4
@@ -25,6 +24,15 @@ jobs:
2524
with:
2625
node-version: 20
2726

27+
- name: Install semantic-release and plugins
28+
run: |
29+
npm install -g semantic-release \
30+
@semantic-release/changelog \
31+
@semantic-release/git \
32+
@semantic-release/github \
33+
@semantic-release/commit-analyzer \
34+
@semantic-release/release-notes-generator
35+
2836
- name: Run Semantic Release
2937
run: npx semantic-release
3038
env:

0 commit comments

Comments
 (0)