MCPcopy Create free account
hub / github.com/cypress-io/github-action / noLockFile

Function noLockFile

index.js:122–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122const 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
132const NPM_CACHE_FOLDER = path.join(homeDirectory, '.npm')

Callers 1

lockHashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected