mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 18:34:20 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			412 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			412 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # checkout
 | |
| 
 | |
| This action checks out your repository so that your workflow operates from the root of the repository
 | |
| 
 | |
| # Usage
 | |
| 
 | |
| See [action.yml](action.yml)
 | |
| 
 | |
| Basic:
 | |
| ```yaml
 | |
| steps:
 | |
| - uses: actions/checkout@master
 | |
| - uses: actions/setup-node@master
 | |
|   with:
 | |
|     version: 10.x 
 | |
| - run: npm install
 | |
| - run: npm test
 | |
| ```
 | |
| 
 | |
| # License
 | |
| 
 | |
| The scripts and documentation in this project are released under the [MIT License](LICENSE)
 | 
