mirror of
https://github.com/pnpm/action-setup.git
synced 2024-11-10 17:49:13 +08:00
download script from pnpm.io
This commit is contained in:
parent
e6378df420
commit
eafb777c56
BIN
dist/index.js
vendored
BIN
dist/index.js
vendored
Binary file not shown.
@ -20,7 +20,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
|
|||||||
stdio: ['pipe', 'inherit', 'inherit'],
|
stdio: ['pipe', 'inherit', 'inherit'],
|
||||||
})
|
})
|
||||||
|
|
||||||
const response = await fetch('https://pnpm.js.org/pnpm.js')
|
const response = await fetch('https://pnpm.io/pnpm.js')
|
||||||
response.body.pipe(cp.stdin)
|
response.body.pipe(cp.stdin)
|
||||||
|
|
||||||
const exitCode = await new Promise<number>((resolve, reject) => {
|
const exitCode = await new Promise<number>((resolve, reject) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user