mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-10-31 17:32:24 +08:00 
			
		
		
		
	Merge pull request #14 from Jack-Works-forks/master
Update README: use lockfile hash instead of package.json hash
This commit is contained in:
		| @@ -104,7 +104,7 @@ jobs: | |||||||
|           cache-name: cache-pnpm-modules |           cache-name: cache-pnpm-modules | ||||||
|         with: |         with: | ||||||
|           path: ~/.pnpm-store |           path: ~/.pnpm-store | ||||||
|           key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/package.json') }} |           key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||||||
|           restore-keys: | |           restore-keys: | | ||||||
|             ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- |             ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user