mirror of
https://github.com/pnpm/action-setup.git
synced 2025-08-14 00:25:50 +08:00
feat: add package_json_file option
Signed-off-by: Kengo TODA <skypencil@gmail.com>
This commit is contained in:
@@ -6,6 +6,7 @@ export interface Inputs {
|
||||
readonly version?: string
|
||||
readonly dest: string
|
||||
readonly runInstall: RunInstall[]
|
||||
readonly packageJsonFile: string
|
||||
}
|
||||
|
||||
const options: InputOptions = {
|
||||
@@ -18,6 +19,7 @@ export const getInputs = (): Inputs => ({
|
||||
version: getInput('version'),
|
||||
dest: parseInputPath('dest'),
|
||||
runInstall: parseRunInstall('run_install'),
|
||||
packageJsonFile: parseInputPath('package_json_file'),
|
||||
})
|
||||
|
||||
export default getInputs
|
||||
|
Reference in New Issue
Block a user