npm rejected unscoped "cladm" as too similar to "charm". Scoped under @alezmad with --access=public flag in CI workflow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
430 B
YAML
25 lines
430 B
YAML
name: Publish to npm
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: latest
|
|
|
|
- run: bun install
|
|
|
|
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
|
|
- run: npm publish --access=public
|