3
0
Fork 0
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:
Ben Wells 2025-01-16 09:49:29 -05:00 committed by GitHub
parent 48b90677b6
commit fbeca22fb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)