Skip to content

Commit

Permalink
chore: test more release configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Duell10111 committed Mar 10, 2024
1 parent 0c03a20 commit 8918f61
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
node-version-file: .nvmrc

- name: Add Semantic Release Dependencies
run: npm install -g @semantic-release/changelog @semantic-release/git semantic-release
run: npm install -g @semantic-release/changelog @semantic-release/git conventional-changelog-conventionalcommits semantic-release

- name: Semantic Release (Versioning)
run: semantic-release --dry-run
Expand All @@ -42,7 +42,7 @@ jobs:
uses: ./.github/actions/setup

- name: Add Semantic Release Dependencies
run: npm install -g @semantic-release/changelog @semantic-release/git semantic-release
run: npm install -g @semantic-release/changelog @semantic-release/git conventional-changelog-conventionalcommits semantic-release

- name: Publish to NPM
run: semantic-release
Expand Down
42 changes: 40 additions & 2 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,46 @@ branches:
prerelease: true

plugins:
- "@semantic-release/commit-analyzer"
- '@semantic-release/release-notes-generator'
- - "@semantic-release/commit-analyzer"
- releaseRules:
- type: build
release: patch
- type: ci
release: patch
- type: chore
release: patch
- type: docs
release: patch
- type: refactor
release: patch
- type: style
release: patch
- type: test
release: patch
- type: feat
release: minor
- type: fix
release: patch
- type: perf
release: patch
- type: breaking
release: major
- - '@semantic-release/release-notes-generator'
- preset: "conventionalcommits"
presetConfig:
- types:
- type: feat
section: ":sparkles: Features"
hidden: false
- type: fix
section: ":bug: Fixes"
hidden: false
- type: docs
section: ":memo: Documentation"
hidden: false
- type: chore
section: "Minor changes"
hidden: false
- '@semantic-release/npm'
- - '@semantic-release/changelog'
- changelogFile: "CHANGELOG.md"
Expand Down

0 comments on commit 8918f61

Please sign in to comment.