ci: fix gh publish

This commit is contained in:
ayo 2026-07-05 19:21:41 +02:00
parent 8d5ad928e8
commit 3a97b6356c

View file

@ -84,7 +84,6 @@ jobs:
- run: pnpm build - run: pnpm build
- name: Scope package name for GitHub Packages - name: Scope package name for GitHub Packages
scope: @ayo-run
run: npm pkg set name="web-component-base" run: npm pkg set name="web-component-base"
- name: Publish - name: Publish
@ -96,6 +95,6 @@ jobs:
TAG="latest" TAG="latest"
fi fi
echo "Publishing $VERSION to dist-tag '$TAG'" echo "Publishing $VERSION to dist-tag '$TAG'"
npm publish --tag "$TAG" npm publish --access public --tag "$TAG"
env: env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}