mirror of
https://code.forgejo.org/pnpm/action-setup.git
synced 2025-05-17 12:24:45 +00:00
Use pnpm.js to install pnpm
This commit is contained in:
parent
b7b9d6344b
commit
aefcd1e623
12 changed files with 64 additions and 37 deletions
|
@ -5,8 +5,6 @@ import { RunInstall, parseRunInstall } from './run-install'
|
|||
export interface Inputs {
|
||||
readonly version: string
|
||||
readonly dest: string
|
||||
readonly binDest: string
|
||||
readonly registry: string
|
||||
readonly runInstall: RunInstall[]
|
||||
}
|
||||
|
||||
|
@ -19,8 +17,6 @@ const parseInputPath = (name: string) => expandTilde(getInput(name, options))
|
|||
export const getInputs = (): Inputs => ({
|
||||
version: getInput('version', options),
|
||||
dest: parseInputPath('dest'),
|
||||
binDest: parseInputPath('bin_dest'),
|
||||
registry: getInput('registry', options),
|
||||
runInstall: parseRunInstall('run_install'),
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue