Skip to content

Commit

Permalink
Publish package to GitHub Packages without specifying registry
Browse files Browse the repository at this point in the history
This commit updates the release.yml file to remove the explicit registry URL when publishing a package to GitHub Packages. Instead of using `npm.pkg.github.com/wizarrrr` as the registry, the default registry will be used. This change simplifies the publishing process and makes it consistent with other workflows.
  • Loading branch information
realashleybailey committed Oct 30, 2023
1 parent 384e0e1 commit b10e66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Publish to GitHub Packages
run: |
echo "//npm.pkg.github.com/:__authToken={{ secrets.GITHUB_TOKEN }}" > .npmrc
npm publish --access public --registry https://npm.pkg.github.com/wizarrrr
npm publish --access public
- name: Cleanup
run: rm .npmrc

0 comments on commit b10e66c

Please sign in to comment.