-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmoon.yml
More file actions
96 lines (86 loc) · 2.35 KB
/
Copy pathmoon.yml
File metadata and controls
96 lines (86 loc) · 2.35 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
id: "workspace"
language: "javascript"
layer: "tool"
stack: "infrastructure"
tasks:
doctor:
command: "node scripts/doctor.mjs"
options:
cache: false
runInCI: false
cli:
command: "node scripts/run-cli.mjs"
options:
cache: false
interactive: true
runInCI: false
server:
command: "node scripts/run-server.mjs"
options:
cache: false
persistent: true
runInCI: false
server-debug:
command: "node scripts/run-server-debug.mjs"
options:
cache: false
persistent: true
runInCI: false
journey:
command: "node scripts/run-journey.mjs"
options:
cache: false
runInCI: false
check:
command: "node scripts/check.mjs"
options:
cache: false
runInCI: false
# Matched by the `:test` target in the ci workflow's `moon ci` call, so the
# affected-gate logic never becomes a test file nothing executes.
test:
command: "node --test scripts/ci-mode.test.mjs"
inputs:
- "scripts/ci-mode.mjs"
- "scripts/ci-mode.test.mjs"
- "scripts/dev-process.mjs"
options:
cache: true
runInCI: true
check-typecheck:
script: "node --test scripts/check-typecheck-programs.test.mjs && node scripts/check-typecheck-programs.mjs"
inputs:
- "scripts/check-typecheck-programs.mjs"
- "scripts/check-typecheck-programs.test.mjs"
- "apps/*/moon.yml"
- "packages/*/moon.yml"
- "apps/*/package.json"
- "packages/*/package.json"
- "apps/*/tsconfig*.json"
- "packages/*/tsconfig*.json"
options:
cache: true
runInCI: true
# The wire-casing rules are config, so a wrong subject type or regex breaks
# nothing loudly — the spec just stops being checked. These fixtures fail
# instead.
check-openapi-rules:
command: "node --test scripts/openapi-casing-rules.test.mjs"
inputs:
- "scripts/openapi-casing-rules.test.mjs"
- "scripts/testdata/openapi-casing/**"
- "/redocly.yaml"
# The test reads the pinned redocly version from this file.
- "apps/server/moon.yml"
options:
cache: true
runInCI: true
check-adrs:
command: "node scripts/check-adrs-index.mjs"
inputs:
- "docs/adrs/**/*.md"
- "scripts/check-adrs-index.mjs"
- "scripts/dev-process.mjs"
options:
cache: true
runInCI: true