feat(cli): implement modular command architecture with build config
Publish to Gitea Registry / publish (push) Failing after 19m9s

- Refactor CLI entry point to use modular command structure
- Add list command with placeholder implementation
- Set up type definitions for command interface
- Configure TypeScript build and package files for distribution
- Add dist output to .gitignore
This commit is contained in:
yangzhaohan
2026-06-22 16:23:22 +08:00
parent c6f4311360
commit a258407fae
9 changed files with 338 additions and 4 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Publish to Gitea Registry
on:
push:
branches:
- master
paths:
- "package.json"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm run build
- name: Publish to Gitea npm registry
run: |
echo "//gitea.synoth.com/api/packages/synoth/npm/:_authToken=${{ secrets.GITEA_TOKEN }}" > ~/.npmrc
npm publish