-
-
Notifications
You must be signed in to change notification settings - Fork 12
31 lines (24 loc) · 747 Bytes
/
Copy pathbuild.yml
File metadata and controls
31 lines (24 loc) · 747 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
name: Build Check
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup environment
uses: ./.github/actions/setup
- name: Type check
run: bun run typecheck
- name: Build package
run: bun run build
- name: Verify build artifacts
run: |
echo "Checking build artifacts..."
test -d dist || (echo "❌ dist directory not found" && exit 1)
test -f dist/index.js || (echo "❌ dist/index.js not found" && exit 1)
echo "✅ dist/index.js: $(ls -lh dist/index.js | awk '{print $5}')"