Files
brick-cli/.gitea/workflows/publish.yml
T
yangzhaohan a258407fae
Publish to Gitea Registry / publish (push) Failing after 19m9s
feat(cli): implement modular command architecture with build config
- 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
2026-06-22 16:23:22 +08:00

28 lines
517 B
YAML

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