-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
34 lines (30 loc) · 1010 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# See the syntax docs at
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
name: Licenses export
description: Generates a file with the dependencies used in the application with their respective licenses.
inputs:
path:
description: 'Path to the directory where the package.json file and the node_modules folder are, it supports multiple directories by passing them into new lines'
required: false
default: './'
licenses-file:
description: 'Licenses output JSON file'
required: false
include-dev:
description: 'Include development packages'
required: false
default: 'false'
include-transitive:
description: 'Include transitive packages'
required: false
default: 'true'
exclude-packages:
description: 'A comma-separated list of packages to ignore'
required: false
default: ''
outputs:
licenses:
description: JSON representation of the licenses list
runs:
using: 'node20'
main: 'dist/index.js'