Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): replace @semantic-release/git with GitHub Actions #27

Merged
merged 1 commit into from
Mar 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.