Skip to content

Commit

Permalink
fix(ci): replace @semantic-release/git with GitHub Actions (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kit-p committed Mar 18, 2023
1 parent 1aaf0a3 commit cc10cde
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 32 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: rm -rf dist && pnpm run pre-release && pnpm run semantic-release
- name: Bump package version
uses: peter-evans/create-pull-request@v4
with:
add-paths: |
docs/CHANGELOG.md
package.json
commit-message: "chore(release): bump version and update CHANGELOG.md [skip ci]"
committer: release-bot <noreply@github.com>
branch: release
delete-branch: true
title: "chore(release): bump version and update CHANGELOG.md"
body: "This PR bumps the version in `package.json` and updates `docs/CHANGELOG.md`."
7 changes: 0 additions & 7 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@
}
],
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": ["docs", "package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}
],
[
"@semantic-release/github",
{
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.2",
"@swc/core": "^1.3.41",
"@swc/jest": "^0.2.24",
Expand Down
24 changes: 0 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc10cde

Please sign in to comment.