Repository navigation
Expand file tree
/
Copy pathpackage-scripts.yml
More file actions
63 lines (63 loc) · 3.43 KB
/
Copy pathpackage-scripts.yml
File metadata and controls
63 lines (63 loc) · 3.43 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
scripts:
compile:
buildPortal: node build/tasks/compile/build-portal.mts
importSdkApiDocs: node build/tasks/compile/import-sdk-api-docs.mts
siteifyHealthFiles: node build/tasks/compile/siteify-health-files.mts
verify:
# Announces each task and names the ones that failed. Without this the
# output is a wall of tool chatter with no indication of which task
# produced it.
all: 'rc=0; failed=; for i in build/tasks/verify/*.mts; do echo "==> $i"; node "$i" || { rc=1; failed="$failed $i"; }; done; [ -z "$failed" ] || echo "FAILED:$failed" >&2; exit $rc'
browserslist: node build/tasks/verify/verify-browserslist.mts
commits: node build/tasks/verify/verify-commits.mts
scss: node build/tasks/verify/verify-scss.mts
dockerfile: node build/tasks/verify/verify-dockerfile.mts
fileModes: node build/tasks/verify/verify-file-modes.mts
filenames: node build/tasks/verify/verify-filenames.mts
htmlValidForVNU: node build/tasks/verify/verify-html-valid-for-vnu.mts
js: node build/tasks/verify/verify-js.mts
json: node build/tasks/verify/verify-json.mts
liquid: node build/tasks/verify/verify-liquid.mts
md: node build/tasks/verify/verify-md.mts
# Outside verify/ on purpose: it needs a pull request in the environment,
# and verify.all runs everything in that directory.
pullRequest: node build/tasks/verify-pull-request.mts
# Outside it for the same reason: this one reaches the network, and an
# upstream that is slow or moved would fail unrelated changes.
vendored: node build/tasks/check-vendored.mts
# Outside it for that reason too. Asks the SDK repository what it has
# released, and says whether a release's API reference never arrived
# here. The SDK API drift workflow runs it weekly.
sdkApiDrift: node build/tasks/check-sdk-api-drift.mts
runtimes: node build/tasks/verify/verify-runtimes.mts
svg: node build/tasks/verify/verify-svg.mts
toml: node build/tasks/verify/verify-toml.mts
ts: node build/tasks/verify/verify-ts.mts
unit: node build/tasks/verify/verify-unit.mts
validForEC: node build/tasks/verify/verify-valid-for-ec.mts
workflows: node build/tasks/verify/verify-workflows.mts
yaml: node build/tasks/verify/verify-yaml.mts
format:
all: 'rc=0; for i in build/tasks/format/*.mts; do node "$i" || rc=1; done; exit $rc'
scss: node build/tasks/format/format-scss.mts
dockerfile: node build/tasks/format/format-dockerfile.mts
js: node build/tasks/format/format-js.mts
json: node build/tasks/format/format-json.mts
liquid: node build/tasks/format/format-liquid.mts
md: node build/tasks/format/format-md.mts
svg: node build/tasks/format/format-svg.mts
toml: node build/tasks/format/format-toml.mts
ts: node build/tasks/format/format-ts.mts
yaml: node build/tasks/format/format-yaml.mts
# Squash a pull request into one commit with a message built from the
# commits it contains. Takes a number, and --dry-run to see it first.
land: node build/tasks/land-pull-request.mts
# Place a downloaded `sdk-api-docs` artifact under vendor/sdk-api/, where
# compile.importSdkApiDocs reads it. Takes --from <directory>. The SDK API
# sync workflow runs this; by hand it is step 2 of "Publishing the API
# reference" in the SDK's RELEASING.md.
unpackSdkApiArtifact: node build/tasks/unpack-sdk-api-artifact.mts
build: nps compile.buildPortal
test: nps verify.all
start: eleventy --serve
default: nps start