-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
31 lines (29 loc) · 968 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
name: 'Next.js bundle analyzer'
description: 'Measure Next.js app page sizes and notify of changes in PR comments'
runs:
using: 'node20'
main: 'dist/index.js'
inputs:
working-directory:
description: 'Directory containing built files'
required: false
default: ''
comment-strategy:
description: >
The desired behavior for commenting on Pull Requests.
Available options:
always: Always comment on PRs, even if it's just to say there are no significant changes.
skip-insignificant: Skip commenting on PRs if there are no significant changes in page sizes.
required: false
default: 'always'
create-issue:
description: >
Configures whether to create the bundle size summary issue.
Available options:
true
false
default: 'true'
github-token:
description: 'The GitHub token used to authenticate with the GitHub API.'
required: false
default: ${{ github.token }}