mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 16:54:01 +00:00 
			
		
		
		
	Update .github/workflows/npm-grunt.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Nodoubtz <53144580+nodoubtz@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									63223f8e47
								
							
						
					
					
						commit
						a39130efef
					
				
							
								
								
									
										14
									
								
								.github/workflows/npm-grunt.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/npm-grunt.yml
									
									
									
									
										vendored
									
									
								
							| @ -22,7 +22,21 @@ jobs: | ||||
|       with: | ||||
|         node-version: ${{ matrix.node-version }} | ||||
| 
 | ||||
|     - name: Restore node_modules cache | ||||
|       uses: actions/cache@v3 | ||||
|       with: | ||||
|         path: node_modules | ||||
|         key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||||
|         restore-keys: | | ||||
|           ${{ runner.os }}-node- | ||||
| 
 | ||||
|     - name: Build | ||||
|       run: | | ||||
|         npm install | ||||
|         grunt | ||||
| 
 | ||||
|     - name: Save node_modules cache | ||||
|       uses: actions/cache@v3 | ||||
|       with: | ||||
|         path: node_modules | ||||
|         key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user