()
| 120 | } |
| 121 | |
| 122 | const noLockFile = () => { |
| 123 | core.error( |
| 124 | `Action failed. Missing package manager lockfile. ` + |
| 125 | `Expecting one of package-lock.json (npm), pnpm-lock.yaml (pnpm) or yarn.lock (yarn) in working-directory ` + |
| 126 | workingDirectory |
| 127 | ) |
| 128 | process.exit(1) |
| 129 | } |
| 130 | |
| 131 | // enforce the same npm cache folder across different operating systems |
| 132 | const NPM_CACHE_FOLDER = path.join(homeDirectory, '.npm') |