Skip to content

Commit 4e9b81f

Browse files
authored
fix: semantic version release process (#428)
* feat: update to semantic-release-action@v4 (using Node 20) - also upgrades semantic version to 21.0.9 - link: cycjimmy/semantic-release-action@0c20554 * feat: test out dry_run * feat: add presetConfig to commit-analyzer step - which is noted as being a required field - link: https://github.com/semantic-release/commit-analyzer/tree/v11.0.0#options * fix: presetConfig not needed on previous conventionalcommits versions - noted by: semantic-release/commit-analyzer#525 * feat: pin all dependencies to known versions that work * Revert "feat: test out dry_run" This reverts commit e8d8e73.
1 parent f1ccffd commit 4e9b81f

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

.github/workflows/deploy_semantic_release.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,10 @@ jobs:
1818
fetch-depth: 0
1919
token: ${{ secrets.GH_TOKEN }}
2020

21-
# this step is a temporary fix due to issue in semantic release package
22-
# see https://github.com/cycjimmy/semantic-release-action/issues/159#issuecomment-1490892625
23-
- name: Use Node.js 14
24-
uses: actions/setup-node@v3
25-
with:
26-
node-version: 14
27-
2821
- name: Semantic Release
29-
uses: cycjimmy/semantic-release-action@v3.4.2
22+
uses: cycjimmy/semantic-release-action@v4
3023
id: semantic
3124
with:
32-
semantic_version: 19
3325
# replace master branch with main as a release branch
3426
# see https://github.com/semantic-release/semantic-release/issues/1581
3527
# note that branches may already be filtered by the triggers of this workflow
@@ -49,14 +41,14 @@ jobs:
4941
}
5042
]
5143
extra_plugins: |
52-
@semantic-release/commit-analyzer
53-
@semantic-release/release-notes-generator
54-
@semantic-release/git
55-
@semantic-release/changelog
56-
@semantic-release/github
57-
@semantic-release/npm
58-
@semantic-release/exec
59-
conventional-changelog-conventionalcommits
44+
@semantic-release/commit-analyzer@^11.0.0
45+
@semantic-release/release-notes-generator@^12.0.0
46+
@semantic-release/git@^10.0.1
47+
@semantic-release/changelog@^6.0.3
48+
@semantic-release/github@^9.0.6
49+
@semantic-release/npm@^11.0.0
50+
@semantic-release/exec@^6.0.3
51+
conventional-changelog-conventionalcommits@6
6052
env:
6153
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
6254

0 commit comments

Comments
 (0)