feat(regime)
This commit is contained in:
commit
1f712c1c84
37 changed files with 1059 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Checks"]
|
||||
branches: [main]
|
||||
types: [completed]
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: https://${{ secrets.FORGE_TOKEN }}@code.quickbasic.org/sigitex/regime/actions/release@main
|
||||
with:
|
||||
gitea-token: ${{ secrets.FORGE_TOKEN }}
|
||||
gitea-url: https://code.quickbasic.org
|
||||
npm-token: ${{ secrets.NPM_TOKEN }}
|
||||
8
templates/tools-semantic-release/package.json
Normal file
8
templates/tools-semantic-release/package.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"devDependencies": {
|
||||
"semantic-release": "^25.0.3",
|
||||
"multi-semantic-release": "^3.1.0",
|
||||
"@markwylde/semantic-release-gitea": "^2.2.0",
|
||||
"@semantic-release/npm": "^13.1.5"
|
||||
}
|
||||
}
|
||||
12
templates/tools-semantic-release/release.config.mjs
Normal file
12
templates/tools-semantic-release/release.config.mjs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* @type {import('semantic-release').GlobalConfig}
|
||||
*/
|
||||
export default {
|
||||
branches: ["main"],
|
||||
plugins: [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
["@semantic-release/npm", { npmPublish: false }],
|
||||
"@markwylde/semantic-release-gitea",
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue