File tree Expand file tree Collapse file tree 1 file changed +25
-6
lines changed
Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,41 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v4
1515
16+ - name : Setup pnpm
17+ uses : pnpm/action-setup@v2
18+ with :
19+ version : 8.15.0
20+
1621 - name : Setup Node.js
1722 uses : actions/setup-node@v4
1823 with :
1924 node-version : ' 20'
20- cache : ' npm '
25+ cache : ' pnpm '
2126
2227 - name : Install dependencies
23- run : npm ci
28+ run : pnpm install --frozen-lockfile
2429
2530 - name : Build
26- run : npm run build
31+ run : pnpm build
2732
28- - name : Check build output
33+ - name : Verify build outputs
2934 run : |
30- if [ ! -d "dist" ]; then
31- echo "Build failed - dist directory not found"
35+ echo "Checking build outputs..."
36+ if [ ! -d "packages/icons/dist" ]; then
37+ echo "❌ @hovue/icons dist not found"
38+ exit 1
39+ fi
40+ if [ ! -d "packages/nuxt/dist" ]; then
41+ echo "❌ @hovue/nuxt dist not found"
42+ exit 1
43+ fi
44+ if [ ! -d "packages/website/dist" ]; then
45+ echo "❌ @hovue/website dist not found"
46+ exit 1
47+ fi
48+ if [ ! -d "packages/cli/dist" ]; then
49+ echo "❌ @hovue/cli dist not found"
3250 exit 1
3351 fi
52+ echo "✅ All packages built successfully"
3453
You can’t perform that action at this time.
0 commit comments