mirror of
https://github.com/pnpm/action-setup.git
synced 2025-05-09 09:44:33 +08:00
Create run.sh
This commit is contained in:
parent
edb17ae08b
commit
b3e67341de
@ -2,7 +2,7 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"postinstall": "rm -rf dist && make dist/index.js",
|
||||
"start": "make dist/index.js && node dist/index.js"
|
||||
"start": "sh ./run.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"download": "^8.0.0",
|
||||
|
7
run.sh
Executable file
7
run.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
export INPUT_VERSION=4.11.1
|
||||
export INPUT_DEST=pnpm.temp
|
||||
export INPUT_BIN_DEST=pnpm.temp/.bin
|
||||
export INPUT_REGISTRY=https://registry.npmjs.com
|
||||
make dist/index.js || exit $?
|
||||
exec node dist/index.js
|
Loading…
x
Reference in New Issue
Block a user