forked from andresz1/size-limit-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (42 loc) · 1.23 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
36
37
38
39
40
41
42
name: 'Run size-limit'
description: 'size-limit action'
author: 'fryorcraken.eth <git@fryocraken.xyz>'
branding:
icon: 'activity'
color: 'green'
inputs:
github_token:
required: true
description: 'a github access token'
build_script:
required: false
default: "build"
description: 'a custom npm script to build'
clean_script:
required: false
description: 'a npm script to clean up build directory'
skip_install:
required: false
default: 'false'
description: 'Whether to skip `install` step'
skip_build:
required: false
default: 'false'
description: 'Whether to skip `build` step'
directory:
required: false
description: "a custom subdirectory"
windows_verbatim_arguments:
required: false
default: "true"
description: "exec `size-limit` with the option `windowsVerbatimArguments`"
script:
required: false
default: "npx size-limit --json"
description: "The script used to generate size-limit results"
package_manager:
required: false
description: "The package manager used to run the build and install commands. If not provided, the manager will be auto detected. Example values: `yarn`, `npm`, `pnpm`."
runs:
using: 'node16'
main: 'dist/index.js'