Skip to content

Commit 53acd3d

Browse files
authored
ci: Update semantic release jobs
- Modify steps to install conventional-changelog-conventionalcommits locally Signed-off-by: Hector Valcarcel hmvalcarcel@gmail.com
1 parent a3ce32f commit 53acd3d

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Release
22

33
on:
44
push:
5-
branches: [main, dev]
65
workflow_dispatch:
76

87
permissions:
@@ -23,7 +22,7 @@ jobs:
2322
uses: actions/setup-node@v4
2423
with:
2524
node-version: 'lts/*'
26-
- run: npm install -g conventional-changelog-conventionalcommits
25+
- run: npm install conventional-changelog-conventionalcommits
2726
- name: Semantic Release (dry-run)
2827
run: npx semantic-release --dry-run
2928
env:
@@ -41,7 +40,7 @@ jobs:
4140
uses: actions/setup-node@v4
4241
with:
4342
node-version: 'lts/*'
44-
- run: npm install -g conventional-changelog-conventionalcommits
43+
- run: npm install conventional-changelog-conventionalcommits
4544
- name: Semantic Release
4645
run: npx semantic-release
4746
env:

.releaserc.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"branches": [
33
"main",
4-
{
5-
"name": "dev",
6-
"channel": "pre-release",
7-
"prerelease": "rc"
8-
}
4+
{"name": "dev", "channel": "pre-release", "prerelease": "rc"}
95
],
106
"tagFormat": "v${version}",
117
"plugins": [

0 commit comments

Comments
 (0)