Skip to content

Commit

Permalink
chore: more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Duell10111 committed Mar 10, 2024
1 parent 77ee44b commit 0c03a20
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ jobs:
with:
node-version-file: .nvmrc

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

- name: Semantic Release (Versioning)
run: npm install -g @semantic-release/changelog && npx semantic-release --dry-run
run: semantic-release --dry-run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -39,9 +42,9 @@ jobs:
uses: ./.github/actions/setup

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

- name: Publish to NPM
run: npx semantic-release
run: semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 6 additions & 16 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,13 @@ branches:

plugins:
- "@semantic-release/commit-analyzer"
- - '@semantic-release/release-notes-generator'
- writerOpts:
commitGroupsSort: [
"breaking",
"feat",
"fix",
"revert",
"refactor",
"perf",
"docs",
"style",
"build",
"chore",
"upgrade",
"ci"
]
- '@semantic-release/release-notes-generator'
- '@semantic-release/npm'
- - '@semantic-release/changelog'
- changelogFile: "CHANGELOG.md"
- - "@semantic-release/git"
- assets: [ "CHANGELOG.md", "package.json" ]
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
- '@semantic-release/github'

npmPublish: false
Expand Down

0 comments on commit 0c03a20

Please sign in to comment.