-
Notifications
You must be signed in to change notification settings - Fork 9
100 lines (97 loc) · 3.11 KB
/
ci-lint.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
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
97
98
99
100
name: CI Lint
on:
push:
branches: [main]
pull_request:
permissions:
checks: write
contents: read
id-token: write
pull-requests: write
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
concurrency:
group: lint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/init
- name: Lint AI Bot
if: always()
run: pnpm run lint
working-directory: packages/ai-bot
- name: Lint Boxel Motion
# This addition to each step causes the job to proceed even if one lint job fails so we can see all errors
if: always()
run: pnpm run lint
working-directory: packages/boxel-motion/addon
- name: Build Boxel Motion
# To faciliate linting of projects that depend on Boxel Motion
if: always()
run: pnpm run build
working-directory: packages/boxel-motion/addon
- name: Lint Boxel Motion Test App
if: always()
run: pnpm run lint
working-directory: packages/boxel-motion/test-app
- name: Lint Boxel UI
if: always()
run: pnpm run lint
working-directory: packages/boxel-ui/addon
- name: Build Boxel UI
# To faciliate linting of projects that depend on Boxel UI
if: always()
run: pnpm run build
working-directory: packages/boxel-ui/addon
- name: Lint Boxel UI Test App
if: always()
run: pnpm run lint
working-directory: packages/boxel-ui/test-app
- name: Lint Boxel Motion
if: always()
run: pnpm run lint
working-directory: packages/boxel-motion/addon
- name: Build Boxel Motion
# To faciliate linting of projects that depend on Boxel Motion
if: always()
run: pnpm run build
working-directory: packages/boxel-motion/addon
- name: Lint Boxel Motion Test App
if: always()
run: pnpm run lint
working-directory: packages/boxel-motion/test-app
- name: Lint Host
if: always()
run: pnpm run lint
working-directory: packages/host
- name: Lint Matrix
if: always()
run: pnpm run lint
working-directory: packages/matrix
- name: Lint Realm Server
if: always()
run: pnpm run lint
working-directory: packages/realm-server
- name: Lint Runtime Common
if: always()
run: pnpm run lint
working-directory: packages/runtime-common
- name: Lint Base Realm
if: always()
run: pnpm run lint
working-directory: packages/base
- name: Lint Experiments Realm
if: always()
run: pnpm run lint
working-directory: packages/experiments-realm
- name: Lint Boxel Tools VS Code extension
if: always()
run: pnpm run lint
working-directory: packages/vscode-boxel-tools
# uncomment this after there are actual gts files to lint in seed realm
# - name: Lint Seed Realm
# if: always()
# run: pnpm run lint
# working-directory: packages/seed-realm