Skip to content

Commit

Permalink
chore(ci): release config adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
martianoff committed Oct 5, 2023
1 parent aca996a commit 8de306a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release
runs-on: ubuntu-latest
steps:
Expand All @@ -34,5 +33,4 @@ jobs:
@semantic-release/git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
15 changes: 6 additions & 9 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
const releaseNotesGenOptions = {
"preset": "conventionalcommits",
};

const gitOptions = {
"assets": [
],
Expand All @@ -19,11 +15,12 @@ module.exports = {
{name: 'alpha', prerelease: true}
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
releaseNotesGenOptions
],
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits"
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits"
}],
"@semantic-release/changelog",
"@semantic-release/github",
[
Expand Down

0 comments on commit 8de306a

Please sign in to comment.