-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
46 lines (42 loc) · 1.93 KB
/
action.yml
File metadata and controls
46 lines (42 loc) · 1.93 KB
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
36
37
38
39
40
41
42
43
44
45
46
name: 'Edit or Read any JSON'
author: 'Radovan Pelka'
description: 'Edit or Read the content of any json file or the package.json that you want.'
inputs:
path:
description: The path of the target json file, for example "package.json".
default: package.json
required: false
replaceWith:
description: JSON data for changing "package.json" - If a key exists in both objects and both values are objects, the two values will be recursively merged otherwise the value from the second object will be used.
required: false
outputs:
name:
description: 'name field in package.json'
engines:
description: 'engines field in package.json'
version:
description: 'version field in package.json, Version must be parseable by node-semver, which is bundled with npm as a dependency.'
description:
description: "description field in package.json, This helps people discover your package, as it's listed in 'npm search'."
author:
description: 'author field in package.json'
homepage:
description: 'homepage field in package.json, The url to the project homepage.'
license:
description: "license field in package.json, You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it."
private:
description: "private field in package.json"
keywords:
description: "keywords field in package.json, This helps people discover your package as it's listed in 'npm search'."
repository:
description: "keywords field in package.json, Specify the place where your code lives. This is helpful for people who want to contribute."
os:
description: "os field in package.json, Specify which operating systems your module will run on."
cpu:
description: "cpu field in package.json, Specify that your code only runs on certain cpu architectures."
runs:
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'list'
color: 'blue'