forked from codekeyz/pharaoh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
melos.yaml
36 lines (31 loc) · 1.06 KB
/
melos.yaml
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
name: pharaohdev
packages:
- "packages/**"
- pharaoh_examples
command:
version:
# Generate commit links in package changelogs.
# linkToCommits: true
# Only allow versioning to happen on main branch.
branch: master
# Additionally build a changelog at the root of the workspace.
workspaceChangelog: true
bootstrap:
# It seems so that running "pub get" in parallel has some issues (like
# https://github.com/dart-lang/pub/issues/3404). Disabling this feature
# makes the CI much more stable.
runPubGetInParallel: false
scripts:
tests:
run: |
melos exec -c 1 -- "dart test ." --fail-fast
description: Run all static analysis checks.
analyze:
# We are setting the concurrency to 1 because a higher concurrency can crash
# the analysis server on low performance machines (like GitHub Actions).
run: |
melos exec -c 1 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.