-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
49 lines (48 loc) · 1.25 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
46
47
48
49
name: 'Action Lambda Build'
description: 'Build of lambda with Actions'
inputs:
base_dir:
description: 'Source directory'
default: 'src'
builder:
description: 'Builder'
default: 'esbuild'
bundle:
description: 'Activate bundle'
default: 'true'
functions:
description: 'A .yml file where functions is configured'
default: 'serverless.yml'
external:
description: 'External libs'
default: '["aws-sdk"]'
individually:
description: 'Build individually functions'
default: 'true'
minify:
description: 'Activate minify'
default: 'true'
outdir:
description: 'Output directory'
default: 'build'
sourcemap:
description: 'Activate sourcemap'
default: 'true'
three_shaking:
description: 'Activate three_shaking'
default: 'true'
zip:
description: 'Zip functions'
default: 'true'
loader:
# loader: '{".mustache": "copy"}'
description: 'Add esbuild loaders, ex: {".mustache": "copy"}'
default: '{}'
extensions:
description: 'Add more filter files extensions, separate by comma, js* and ts* is already added, dont need add again ex: "mjs,cjs,png"'
default: ''
static_path:
description: 'Copy path to build'
runs:
using: 'docker'
image: 'Dockerfile'