Skip to content

Commit

Permalink
fix: use npm plugin instead
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Oct 26, 2023
1 parent fc3614e commit 0ab722c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 35 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,13 @@ jobs:
- lint
- test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
fetch-depth: 0
persist-credentials: false

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v4
id: semantic
# Only run on non-PR events or only PRs that aren't from forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/npm.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/changelog",
"@semantic-release/git"
]
}

0 comments on commit 0ab722c

Please sign in to comment.