-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from bh2980/14-semantic-release적용
14 semantic release적용
- Loading branch information
Showing
5 changed files
with
2,498 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Semantic-Release | ||
|
||
on: | ||
push: | ||
branches: ['manster'] | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # to be able to publish a GitHub release | ||
issues: write # to be able to comment on released issues | ||
pull-requests: write # to be able to comment on released pull requests | ||
id-token: write # to enable use of OIDC for npm provenance | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set Node.js Env | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: 'yarn' | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Running Semantic-Release | ||
run: npx semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"branches": ["master"], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"releaseRules": [ | ||
{ "scope": "no-release", "release": false }, | ||
{ "scope": "breaking", "release": "major" }, | ||
|
||
{ "type": "docs", "scope": "README", "release": "patch" }, | ||
|
||
{ "type": "feat", "release": "minor" }, | ||
{ "type": "fix", "release": "patch" }, | ||
|
||
{ "type": "refactor", "release": "minor" }, | ||
|
||
{ "type": "style", "release": "patch" }, | ||
{ "type": "perf", "release": "patch" }, | ||
|
||
{ "type": "chore", "release": false }, | ||
{ "type": "ci", "release": false }, | ||
{ "type": "test", "release": false } | ||
], | ||
"parserOpts": { | ||
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] | ||
} | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"presetConfig": { | ||
"types": [ | ||
{ "type": "feat", "section": "✨ Features", "hidden": false }, | ||
{ "type": "fix", "section": "🐛 Bug Fixes", "hidden": false }, | ||
{ "type": "perf", "section": "🌈 Performance", "hidden": false }, | ||
{ "type": "refactor", "section": "♻️ Refactor", "hidden": false }, | ||
{ "type": "docs", "section": "📝 Docs", "hidden": false }, | ||
{ "type": "style", "section": "💄 Styles", "hidden": false }, | ||
{ "type": "ci", "section": "💫 CI/CD", "hidden": false }, | ||
|
||
{ "type": "test", "section": "✅ Tests", "hidden": true }, | ||
{ "type": "chore", "section": "📦 Chores", "hidden": true } | ||
] | ||
} | ||
} | ||
], | ||
[ | ||
"@semantic-release/changelog", | ||
{ | ||
"changelogFile": "CHANGELOG.md", | ||
"changelogTitle": "# 🚦 CHANGELOG | 변경 사항을 기록해요." | ||
} | ||
], | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": ["CHANGELOG.md"] | ||
} | ||
] | ||
], | ||
"preset": "conventionalcommits" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.