-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
35 lines (35 loc) · 1.42 KB
/
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
35
name: 'package-json-validator'
description: 'A Github Action for validating package.json conventions'
author: 'Dan Adajian'
inputs:
rules:
description: 'A line-separated list of rules to validate.'
required: true
allowed-ranges:
description: 'Can be used with the ranges rule. This is a line-separated list of package version range specifiers allowed in your package.json. Omitting this input means only exact versions are allowed.'
required: false
allowed-tags:
description: 'Can be used with the tags rule. Line-separated list of package version tags allowed in your package.json. Omitting this input means no version tags are allowed.'
required: false
dependency-types:
description: 'Line-separated list of dependency types to validate within your package.json.'
required: false
default: 'dependencies'
ignore-packages:
description: 'Line-separated list of dependencies to skip validation for.'
required: false
ignore-resolutions:
description: 'Line-separated list of dependencies to skip validation for resolutions field.'
required: false
ignore-resolutions-until:
description: 'Date string to skip validation for resolutions field for a specific amount of time.'
required: false
package-json-location:
description: 'The location of the package.json to validate'
required: false
runs:
using: 'node20'
main: 'dist/main.js'
branding:
icon: file
color: red