mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-11-04 03:12:13 +08:00 
			
		
		
		
	Fix pruneStore
This commit is contained in:
		@@ -1,14 +1,10 @@
 | 
			
		||||
import process from 'process'
 | 
			
		||||
import path from 'path'
 | 
			
		||||
import { spawnSync } from 'child_process'
 | 
			
		||||
import { setFailed } from '@actions/core'
 | 
			
		||||
import { Inputs } from '../inputs'
 | 
			
		||||
import { patchPnpmEnv } from '../utils'
 | 
			
		||||
 | 
			
		||||
export function runPnpmInstall(inputs: Inputs) {
 | 
			
		||||
  const env = {
 | 
			
		||||
    ...process.env,
 | 
			
		||||
    PATH: inputs.binDest + path.delimiter + process.env.PATH
 | 
			
		||||
  }
 | 
			
		||||
  const env = patchPnpmEnv(inputs)
 | 
			
		||||
 | 
			
		||||
  for (const options of inputs.runInstall) {
 | 
			
		||||
    const args = ['install']
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user