We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb9fa3 commit 41ffbbaCopy full SHA for 41ffbba
1 file changed
.github/workflows/build-mac.yml
@@ -0,0 +1,38 @@
1
+name: Build On Mac
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: macos-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
+ with:
17
+ submodules: true
18
19
+ - name: Set up Node
20
+ uses: actions/setup-node@v4
21
22
+ - name: Install dependencies
23
+ run: npm install
24
25
+ - name: Build
26
+ run: npm run build
27
28
+ - name: Verify build output
29
+ run: |
30
+ if [ ! -d "dist/api/v1/core/db" ]; then
31
+ echo "❌ Error: Directory dist/api/v1/core/db does not exist!"
32
+ exit 1
33
+ elif [ -z "$(ls -A dist/api/v1/core/db 2>/dev/null)" ]; then
34
+ echo "❌ Error: No files found in dist/api/v1/core/db!"
35
36
+ else
37
+ echo "✅ Success: Files found in dist/api/v1/core/db"
38
+ fi
0 commit comments