mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +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'
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
- run: npm publish
|
- run: npm publish
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
Publish to npmjs and GPR with yarn:
|
Publish to npmjs and GPR with yarn:
|
||||||
|
@ -80,7 +80,7 @@ steps:
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
- run: yarn publish
|
- run: yarn publish
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
Use private packages:
|
Use private packages:
|
||||||
|
|
Loading…
Add table
Reference in a new issue