mirror of
https://gitea.com/actions/setup-node.git
synced 2025-01-18 05:44:44 +01:00
Update README.md (#1193)
This commit is contained in:
parent
48b90677b6
commit
fbeca22fb2
1 changed files with 9 additions and 0 deletions
|
@ -204,6 +204,15 @@ If the runner is not able to access github.com, any Nodejs versions requested du
|
|||
- [Publishing to npmjs and GPR with yarn](docs/advanced-usage.md#publish-to-npmjs-and-gpr-with-yarn)
|
||||
- [Using private packages](docs/advanced-usage.md#use-private-packages)
|
||||
|
||||
## Recommended permissions
|
||||
|
||||
When using the `setup-node` action in your GitHub Actions workflow, it is recommended to set the following permissions to ensure proper functionality:
|
||||
|
||||
```yaml
|
||||
permissions:
|
||||
contents: read # access to check out code and install dependencies
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|
||||
|
|
Loading…
Add table
Reference in a new issue