fix(docs): license setup command clarification [skip ci]

This commit is contained in:
lowlighter
2022-10-18 03:05:24 -04:00
parent 0bed72ad63
commit 0a99159c6a
2 changed files with 6 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
template: repository
repo: metrics
plugin_licenses: yes
plugin_licenses_setup: npm ci
plugin_licenses_setup: "[[ -f package.json ]] && npm ci || true"
test:
timeout: 1800000
modes:
@@ -21,7 +21,7 @@
template: repository
repo: metrics
plugin_licenses: yes
plugin_licenses_setup: npm ci
plugin_licenses_setup: "[[ -f package.json ]] && npm ci || true"
plugin_licenses_legal: no
plugin_licenses_ratio: yes
test:

View File

@@ -32,9 +32,12 @@ inputs:
plugin_licenses_setup:
description: |
Setup command
> Depending on the project, this may not be required.
> The example command is intended for NodeJs projects that use `npm` to install their dependencies.
type: string
default: ""
example: npm ci
example: "[[ -f package.json ]] && npm ci || true"
plugin_licenses_ratio:
description: |