Skip to content

Commit

Permalink
feat(ci): publish npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
hgw77 committed Dec 18, 2024
1 parent ad68286 commit 59dedec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
set +e
echo "publish to https://github.com/${{ github.repository_owner }}/packages"
cat .npmrc
npm config get registry
npm publish --access=public #--dry-run
if [ $? != 0 ] ; then
Expand All @@ -50,3 +50,4 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY_OWNER: ${{ github.repository_owner }}
#NPM_CONFIG_REGISTRY: https://npm.pkg.github.com/

0 comments on commit 59dedec

Please sign in to comment.