mirror of
				https://gitea.com/actions/setup-node.git
				synced 2025-10-29 15:52:42 +08:00 
			
		
		
		
	Update README.md (#1193)
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user