mirror of
https://github.com/actions/setup-node
synced 2025-04-09 18:35:51 +00:00
Fix token references
This commit is contained in:
parent
e565252a9d
commit
99fdb8ccb6
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ steps:
|
|||
registry-url: 'https://npm.pkg.github.com'
|
||||
- run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
```
|
||||
|
||||
Publish to npmjs and GPR with yarn:
|
||||
|
@ -80,7 +80,7 @@ steps:
|
|||
registry-url: 'https://npm.pkg.github.com'
|
||||
- run: yarn publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }}
|
||||
```
|
||||
|
||||
Use private packages:
|
||||
|
|
Loading…
Add table
Reference in a new issue