Skip to content

Commit

Permalink
ci: fix the semantic release (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock authored May 30, 2024
1 parent d04ac51 commit 20ee588
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 35 deletions.
30 changes: 6 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,29 +126,11 @@ jobs:
node-version: 20

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
id: semantic
with:
semantic_version: 22.0.5
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'master',
'main',
'next',
'next-major',
{
name: 'beta',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
]
extra_plugins: |
@semantic-release/exec
@semantic-release/github
conventional-changelog-conventionalcommits
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
run: >
npx
--package @semantic-release/github
--package conventional-changelog-conventionalcommits@7.0.2
--package semantic-release@23.1.1
semantic-release
11 changes: 0 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,6 @@ repos:
- id: rst-directive-colons
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]
exclude: |
(?x)^(
CHANGELOG.md
)
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.5"
hooks:
Expand Down

0 comments on commit 20ee588

Please sign in to comment.