generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
45 lines (45 loc) · 1.74 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
43
44
45
name: Flarum JavaScript Build
description: Automatically compile your extension's JavaScript files
author: 'Flarum'
runs:
using: 'node20'
main: 'dist/index.js'
inputs:
github_token:
description: 'Token used to push built JS code to your GitHub repository (if in doubt, use "(dollar-sign){{ secrets.GITHUB_TOKEN }}")'
required: true
build_script:
description: The name of the package.json script to run to build your JS code
default: 'build'
required: true
build_typings_script:
description: (If needed) The name of the package.json script to run to compile your Typescript typings
required: false
format_script:
description: (If needed) The name of the package.json script to run to check code formatting
required: false
check_typings_script:
description: (If needed) The name of the package.json script to run to typecheck your TypeScript code
required: false
type_coverage_script:
description: (If needed) The name of the package.json script to run to assess TypeScript type coverage
required: false
test_script:
description: (If needed) The name of the package.json script to run to run your tests
required: false
package_manager:
description: Name of your JS package manager (either npm or yarn)
default: 'npm'
required: false
js_path:
description: Path to your Javascript folder from the root of your repository (e.g. ./js)
default: './js'
required: false
do_not_commit:
description: When true, prevents committing compiled code and typings to your repository.
default: 'false'
required: false
commit_all_dirty:
description: Set to `true` to commit all file changes, not just files in the dist JS directory.
default: 'false'
required: false