ci: cache node_modules
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							| @@ -17,5 +17,9 @@ jobs: | ||||
|     - uses: actions/setup-node@v1 | ||||
|       with: | ||||
|         node-version: 12.x | ||||
|     - uses: actions/cache@v2 | ||||
|       with: | ||||
|         path: '**/node_modules' | ||||
|         key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | ||||
|     - run: yarn install | ||||
|     - run: yarn lint | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -75,6 +75,10 @@ jobs: | ||||
|       uses: actions/setup-node@v1 | ||||
|       with: | ||||
|         node-version: ${{ matrix.node-version }} | ||||
|     - uses: actions/cache@v2 | ||||
|       with: | ||||
|         path: '**/node_modules' | ||||
|         key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | ||||
|     - name: Install dependencies | ||||
|       run: yarn install | ||||
|     - name: Check yarn.lock | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo