Skip to content

Commit

Permalink
Add comment in action
Browse files Browse the repository at this point in the history
  • Loading branch information
rascar-capac committed Apr 26, 2024
1 parent 311fd51 commit 20dbc07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ jobs:
steps:
# This checks out the repository to be accessible for the workflow - https://github.com/actions/checkout
- uses: actions/checkout@v4
# 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
# 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
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 20dbc07

Please sign in to comment.