feat(cli): add non-interactive mode to clawstore init
#10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish CLI | |
| on: | |
| push: | |
| tags: ['v*'] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write # OIDC trusted publishing — no NPM_TOKEN needed | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.11.0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| registry-url: 'https://registry.npmjs.org' | |
| - run: pnpm install --frozen-lockfile | |
| - name: Build all packages | |
| run: pnpm build | |
| - name: Copy root README to CLI package | |
| run: cp README.md apps/cli/README.md | |
| # Uses npm trusted publishing (OIDC) — no token needed | |
| # NODE_AUTH_TOKEN must NOT be set, otherwise npm uses it instead of OIDC | |
| - name: Publish to npm | |
| run: npm publish --access public | |
| working-directory: apps/cli |