feat: add the ability to run with '--production' (#75)
* feat: add the ability to run with '--production' Adding the config options to run npm audit with the --production flag. Contributes to: #74 Signed-off-by: Stelios Gkiokas <s_giokas@hotmail.com> * fix: add tests Adding the relevant tests for the new production flag. Contributes to: #74 Signed-off-by: Stelios Gkiokas <s_giokas@hotmail.com>
This commit is contained in:
@@ -6,6 +6,10 @@ inputs:
|
||||
description: 'The value of `--audit-level` flag'
|
||||
default: low
|
||||
required: false
|
||||
production_flag:
|
||||
description: 'Run npm audit with --production'
|
||||
default: 'false'
|
||||
required: false
|
||||
github_context:
|
||||
description: 'The `github` context'
|
||||
default: ${{ toJson(github) }}
|
||||
|
||||
Reference in New Issue
Block a user