mirror of
https://github.com/actions/setup-node.git
synced 2025-07-04 00:24:58 +00:00
update documentation and action.yml
This commit is contained in:
parent
d5836a54ad
commit
88f7475d7c
2 changed files with 15 additions and 2 deletions
|
@ -19,8 +19,8 @@ inputs:
|
|||
scope:
|
||||
description: 'Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).'
|
||||
token:
|
||||
description: Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user.
|
||||
default: ${{ github.token }}
|
||||
description: Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
|
||||
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
|
||||
cache:
|
||||
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.'
|
||||
cache-dependency-path:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue