separate release and mirror

This commit is contained in:
Dan Finch 2026-05-03 14:12:41 +02:00
parent bd354fb57d
commit 632fbe9cb1
10 changed files with 30 additions and 17 deletions

View file

@ -1,7 +1,7 @@
{
"workspaces": {
"catalog": {
"@types/bun": "1.3.11"
"@types/bun": "1.3.12"
}
},
"scripts": {

View file

@ -0,0 +1,27 @@
name: Checks
on:
push:
branches: ["*"]
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: https://${{ secrets.FORGE_TOKEN }}@code.quickbasic.org/sigitex/regime/actions/checks@main
release:
runs-on: ubuntu-latest
needs: checks
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
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 }}

View file

@ -1,9 +1,7 @@
{
"inherits": [
"tools-oxc",
"tools-mirror",
"tools-commitlint",
"tools-semantic-release",
"tools-checks"
]
}

View file

@ -11,17 +11,3 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: https://${{ secrets.FORGE_TOKEN }}@code.quickbasic.org/sigitex/regime/actions/checks@main
release:
runs-on: ubuntu-latest
needs: checks
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
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 }}

View file

@ -0,0 +1 @@
bunx --no-install -- commitlint --edit $1