Install current Preflight tarball globally before testing #2405
Annotations
4 errors
__tests__/e2e.test.ts:
__tests__/e2e.test.ts#L10
ExecaError: Command failed with exit code 1: pnpm add --global '$(pwd)/upleveled-preflight-7.0.9.tgz'
\u2009ERROR\u2009 Command failed with exit code 128: git ls-remote git+ssh://[email protected]/$(pwd)/upleveled-preflight-7.0.9.tgz.git HEAD
[email protected]: Permission denied (publickey).\r
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This error happened while installing a direct dependency of /home/runner/setup-pnpm/node_modules/.bin/global/5
pnpm: Command failed with exit code 128: git ls-remote git+ssh://[email protected]/$(pwd)/upleveled-preflight-7.0.9.tgz.git HEAD
[email protected]: Permission denied (publickey).\r
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
at makeError (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:19454:17)
at handlePromise (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:20025:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getRepoRefs (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:115465:23)
at async resolveRef (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:115477:20)
at async resolveGit (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:115417:24)
at async Object.resolve (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:115725:175)
at async run (/home/runner/setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:134721:23)
❯ makeError ../../../setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:19454:17
❯ handlePromise ../../../setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:20025:33
❯ getRepoRefs ../../../setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:115465:23
❯ resolveRef ../../../setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:115477:20
❯ resolveGit ../../../setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:115417:24
❯ Object.resolve ../../../setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:115725:175
❯ run ../../../setup-pnpm/node_modules/.pnpm/[email protected]/node_modules/pnpm/dist/pnpm.cjs:134721:23
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ __tests__/e2e.test.ts:10:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm add --global \'$(pwd)/upleveled-preflight-7.0.9.tgz\'', command: 'pnpm add --global $(pwd)/upleveled-preflight-7.0.9.tgz', escapedCommand: 'pnpm add --global \'$(pwd)/upleveled-preflight-7.0.9.tgz\'', cwd: '/home/runner/work/preflight/preflight', durationMs: 3244.886494, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: ' ERROR Command failed with exit code 128: git ls-remote git+ssh://[email protected]/$(pwd)/upleveled-preflight-7.0.9.tgz.git HEAD\[email protected]: Permission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n\nThis error happened while installing a direct dependency of /home/runner/setup-pnpm/node_modules/.bin/global/5\n\npnpm: Command failed with exit code 128: git ls-remote git+ssh://[email protected]/$(pwd)/upleveled-preflight-7.0.9.tgz.git HEAD\[email protected]: Permission denied (publickey).\r\nfatal: Could not r
|
ubuntu-latest: Build, lint, test
Process completed with exit code 1.
|
windows-latest: Build, lint, test
The job was canceled because "ubuntu-latest" failed.
|
windows-latest: Build, lint, test
The operation was canceled.
|