ci: add release workflow, release script and smoke script

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
haylanandClaude Bot committed 2026-10-03 19:29:40 +02:00
1 parent 385b454387
commit 0712a932cc
5 files changed
+175

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
name: release
on: workflow_dispatch
jobs:
release:
if: gitea.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
- run: npm ci
- run: npm test
- run: npm run build
- run: node scripts/release.ts
env:
REGISTRY_URL: ${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/npm
TOKEN: ${{ secrets.PACKAGE_TOKEN || secrets.GITHUB_TOKEN }}