-
Notifications
You must be signed in to change notification settings - Fork 84
/
action.yml
36 lines (36 loc) · 1.12 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
name: 'size-limit-action'
description: 'size-limit action'
author: 'Andres Alvarez <[email protected]>'
branding:
icon: 'activity'
color: 'green'
inputs:
github_token:
required: true
description: 'a github access token'
build_script:
required: false
description: 'a custom npm script to build'
clean_script:
required: false
description: 'a npm script to clean up build directory'
skip_step:
required: false
description: 'which step to skip, either "install" or "build"'
directory:
required: false
description: "a custom subdirectory"
windows_verbatim_arguments:
required: false
description: "exec `size-limit` with the option `windowsVerbatimArguments`"
default: true
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`, `bun`."
runs:
using: 'node20'
main: 'dist/index.js'