mirror of
https://github.com/actions/setup-node.git
synced 2025-07-22 22:48:22 +02:00
adds the ability to set ignore-scripts in npm config
This commit is contained in:
parent
e54c83ad43
commit
8d3d0041fe
8 changed files with 122 additions and 3 deletions
|
@ -25,6 +25,9 @@ inputs:
|
|||
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.'
|
||||
cache-dependency-path:
|
||||
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
|
||||
ignore-scripts:
|
||||
description: 'Set ignore-scripts in npmrc to prevent pre and postinstall scripts from running as they are a potential security problem.'
|
||||
default: 'false'
|
||||
# TODO: add input to control forcing to pull from cloud or dist.
|
||||
# escape valve for someone having issues or needing the absolute latest which isn't cached yet
|
||||
outputs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue