diff --git a/.github/workflows/ci.yml b/.github/workflows/check.yml similarity index 98% rename from .github/workflows/ci.yml rename to .github/workflows/check.yml index 0e05d97..e352e1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/check.yml @@ -1,4 +1,4 @@ -name: CI +name: Check on: push: diff --git a/.releaserc.json b/.releaserc.json index 9f14538..85ff8a4 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,7 +1,24 @@ { "branches": ["main"], "plugins": [ - "@semantic-release/commit-analyzer", + [ + "@semantic-release/commit-analyzer", + { + "releaseRules": [ + { "type": "feat", "release": "minor" }, + { "type": "fix", "release": "patch" }, + { "type": "perf", "release": "patch" }, + { "type": "revert", "release": "patch" }, + { "type": "docs", "release": "patch" }, + { "type": "style", "release": "patch" }, + { "type": "refactor", "release": "patch" }, + { "type": "test", "release": "patch" }, + { "type": "build", "release": "patch" }, + { "type": "ci", "release": "patch" }, + { "type": "chore", "release": false } + ] + } + ], "@semantic-release/release-notes-generator", "@semantic-release/npm", "@semantic-release/github"