You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if rg -q '^(apps/web/|packages/ai/|packages/configs/|packages/db/|packages/logger/|packages/native-bridge/|packages/yjs-shared/|scripts/install/|package\.json$|bun\.lock$|turbo\.json$|\.github/workflows/web-deploy\.yml$)' changed-files.txt; then
39
+
echo "web=true" >> "$GITHUB_OUTPUT"
40
+
else
41
+
echo "web=false" >> "$GITHUB_OUTPUT"
42
+
fi
43
+
44
+
if rg -q '^(apps/workers/|packages/ai/|packages/configs/|packages/db/|packages/logger/|packages/yjs-shared/|scripts/install/|package\.json$|bun\.lock$|turbo\.json$|\.github/workflows/workers-deploy\.yml$)' changed-files.txt; then
45
+
echo "workers=true" >> "$GITHUB_OUTPUT"
46
+
else
47
+
echo "workers=false" >> "$GITHUB_OUTPUT"
48
+
fi
49
+
50
+
if rg -q '^(apps/native/|scripts/install/|package\.json$|bun\.lock$|\.github/workflows/release-native\.yml$)' changed-files.txt; then
51
+
echo "native=true" >> "$GITHUB_OUTPUT"
52
+
else
53
+
echo "native=false" >> "$GITHUB_OUTPUT"
54
+
fi
55
+
56
+
quality:
57
+
name: Quality
58
+
runs-on: ubuntu-latest
59
+
steps:
60
+
- name: Checkout
61
+
uses: actions/checkout@v6
62
+
63
+
- name: Setup Bun
64
+
uses: ./.github/actions/setup-bun-cache
65
+
with:
66
+
bun-version: "1.3.11"
67
+
68
+
- name: Install dependencies
69
+
run: bun install --frozen-lockfile
70
+
71
+
- name: Run checks
72
+
run: bun run check
73
+
74
+
- name: Run type checks
75
+
run: bun run check-types
76
+
9
77
unit-web:
10
78
name: Unit Web
11
79
runs-on: ubuntu-latest
@@ -14,7 +82,7 @@ jobs:
14
82
uses: actions/checkout@v6
15
83
16
84
- name: Setup Bun
17
-
uses: oven-sh/setup-bun@v2
85
+
uses: ./.github/actions/setup-bun-cache
18
86
with:
19
87
bun-version: "1.3.11"
20
88
@@ -50,7 +118,7 @@ jobs:
50
118
uses: actions/checkout@v6
51
119
52
120
- name: Setup Bun
53
-
uses: oven-sh/setup-bun@v2
121
+
uses: ./.github/actions/setup-bun-cache
54
122
with:
55
123
bun-version: "1.3.11"
56
124
@@ -92,7 +160,7 @@ jobs:
92
160
runs-on: ubuntu-latest
93
161
services:
94
162
postgres:
95
-
image: postgres:16-alpine
163
+
image: postgres:18-alpine
96
164
env:
97
165
POSTGRES_USER: test
98
166
POSTGRES_PASSWORD: test
@@ -109,7 +177,7 @@ jobs:
109
177
uses: actions/checkout@v6
110
178
111
179
- name: Setup Bun
112
-
uses: oven-sh/setup-bun@v2
180
+
uses: ./.github/actions/setup-bun-cache
113
181
with:
114
182
bun-version: "1.3.11"
115
183
@@ -134,7 +202,7 @@ jobs:
134
202
runs-on: ubuntu-latest
135
203
services:
136
204
postgres:
137
-
image: postgres:16-alpine
205
+
image: postgres:18-alpine
138
206
env:
139
207
POSTGRES_USER: test
140
208
POSTGRES_PASSWORD: test
@@ -151,7 +219,7 @@ jobs:
151
219
uses: actions/checkout@v6
152
220
153
221
- name: Setup Bun
154
-
uses: oven-sh/setup-bun@v2
222
+
uses: ./.github/actions/setup-bun-cache
155
223
with:
156
224
bun-version: "1.3.11"
157
225
@@ -182,7 +250,7 @@ jobs:
182
250
uses: actions/checkout@v6
183
251
184
252
- name: Setup Bun
185
-
uses: oven-sh/setup-bun@v2
253
+
uses: ./.github/actions/setup-bun-cache
186
254
with:
187
255
bun-version: "1.3.11"
188
256
@@ -204,3 +272,52 @@ jobs:
204
272
205
273
- name: Check LCOV thresholds
206
274
run: bun run scripts/testing/check-lcov-thresholds.ts
0 commit comments