Skip to content

Commit

Permalink
Merge pull request #114 from FishingCactus/publish_action
Browse files Browse the repository at this point in the history
Add missing setup node step in action + fix .npmrc
  • Loading branch information
rascar-capac authored Apr 26, 2024
2 parents caa6204 + 20dbc07 commit 2ff7315
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
steps:
# This checks out the repository to be accessible for the workflow - https://github.com/actions/checkout
- uses: actions/checkout@v4
# This is used to configure authentification for npm - https://github.com/actions/setup-node
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
# This is the command that will publish the package on the registry specified in package.json or .npmrc
# GITHUB_TOKEN allows us to authenticate without any personal access token
- run: npm publish
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@FishingCactus:registry=https://npm.pkg.github.com
registry=https://npm.pkg.github.com/@FishingCactus

0 comments on commit 2ff7315

Please sign in to comment.