-
Notifications
You must be signed in to change notification settings - Fork 11
43 lines (33 loc) · 837 Bytes
/
ci.yml
File metadata and controls
43 lines (33 loc) · 837 Bytes
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
name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
permissions: {}
jobs:
test-lint-build:
permissions:
contents: read
packages: read
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup Node.js and pnpm
uses: ./.github/actions/setup-node-pnpm
- name: Lint code
run: pnpm lint
- name: Run tests
run: pnpm test
- name: Build project
run: pnpm build
- name: Check build artifacts
run: |
if [ -d "apps/dashboard/dist" ]; then
echo "✅ Build artifacts created successfully"
ls -la apps/dashboard/dist/
else
echo "❌ Build artifacts not found"
exit 1
fi