Skip to content

Commit 8d3a344

Browse files
Merge pull request #161 from emulsify-ds/develop
fix: workaround for parserOpts not a function error during release
2 parents 02a86be + a3f7458 commit 8d3a344

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/semantic-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: Install Node.js
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v4
1616
with:
1717
node-version: "24.x"
1818
- name: Install

release.config.cjs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@ module.exports = {
33
branches: ['main'],
44
repositoryUrl: 'git@github.com:emulsify-ds/emulsify-core.git',
55
plugins: [
6-
'@semantic-release/commit-analyzer',
6+
['@semantic-release/commit-analyzer', {
7+
preset: 'angular',
8+
releaseRules: [
9+
{ type: 'feat', release: 'minor' },
10+
{ type: 'fix', release: 'patch' }
11+
],
12+
parserOpts: {
13+
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES']
14+
}
15+
}],
716
'@semantic-release/release-notes-generator',
817
['@semantic-release/npm', { npmPublish: false }],
918
'@semantic-release/github'

0 commit comments

Comments
 (0)