chore(release) : configure semantic-release

This commit is contained in:
2026-03-10 08:18:20 +01:00
parent aace834dd4
commit fb96cc3c32
4 changed files with 5649 additions and 0 deletions

25
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
on:
push:
branches:
- develop
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

20
.releaserc.json Normal file
View File

@@ -0,0 +1,20 @@
{
"branches": [
"develop"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version}"
}
]
]
}

5598
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,13 @@
"vue-router": "^4.6.4"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.6",
"@semantic-release/release-notes-generator": "^14.1.0",
"@tailwindcss/vite": "^4.2.1",
"semantic-release": "^25.0.3",
"tailwindcss": "^4.2.1"
}
}