mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-10-31 17:32:24 +08:00 
			
		
		
		
	docs: change order of setup node and pnpm (#129)
This commit is contained in:
		
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							| @@ -115,18 +115,18 @@ jobs: | |||||||
|       - name: Checkout |       - name: Checkout | ||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Install Node.js |  | ||||||
|         uses: actions/setup-node@v4 |  | ||||||
|         with: |  | ||||||
|           node-version: 20 |  | ||||||
|           cache: 'pnpm' |  | ||||||
|  |  | ||||||
|       - uses: pnpm/action-setup@v4 |       - uses: pnpm/action-setup@v4 | ||||||
|         name: Install pnpm |         name: Install pnpm | ||||||
|         with: |         with: | ||||||
|           version: 8 |           version: 8 | ||||||
|           run_install: false |           run_install: false | ||||||
|  |  | ||||||
|  |       - name: Install Node.js | ||||||
|  |         uses: actions/setup-node@v4 | ||||||
|  |         with: | ||||||
|  |           node-version: 20 | ||||||
|  |           cache: 'pnpm' | ||||||
|  |  | ||||||
|       - name: Get pnpm store directory |       - name: Get pnpm store directory | ||||||
|         shell: bash |         shell: bash | ||||||
|         run: | |         run: | | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user