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 fae8b0a
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 6 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
50 changes: 46 additions & 4 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,52 @@ 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: ci
section: ":repeat: CI"
hidden: false
- type: test
section: ":white_check_mark: Testes"
hidden: false
- type: chore
section: "Minor changes"
hidden: false
- '@semantic-release/npm'
- - '@semantic-release/changelog'
- changelogFile: "CHANGELOG.md"
Expand All @@ -20,5 +64,3 @@ plugins:
- '@semantic-release/github'

npmPublish: false

preset: 'angular'

0 comments on commit fae8b0a

Please sign in to comment.