ci: fix gh publish
This commit is contained in:
parent
8d5ad928e8
commit
3a97b6356c
1 changed files with 1 additions and 2 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -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}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue