@@ -11,9 +11,6 @@ permissions: {}
1111jobs :
1212 ci :
1313 timeout-minutes : 15
14- permissions :
15- contents : read
16- packages : read
1714
1815 strategy :
1916 fail-fast : false
@@ -23,46 +20,23 @@ jobs:
2320 runs-on : ${{ matrix.os }}
2421
2522 steps :
26- - name : Checkout code
27- uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
23+ - uses : taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2
24+
25+ - uses : oxc-project/setup-node@8958a8e040102244b619c4a94fccb657a44b1c21 # v1.0.6
2826
29- - name : Setup Node.js
30- uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
31- with :
32- node-version : " lts/*"
33- package-manager-cache : false
34- check-latest : true
3527
36- - name : Setup Vite+
37- uses : voidzero-dev/setup-vite-plus-action@5bd070e3dfe8fd6a967ab859304e95daa4e64ea0 # v1
28+ - uses : voidzero-dev/setup-vite-plus-action@5bd070e3dfe8fd6a967ab859304e95daa4e64ea0 # v1
3829 with :
3930 cache : true
4031
41- - name : Install Playwright browsers
42- run : npx playwright install chromium
43-
44- - name : Check formatting
45- run : vite fmt --check
32+ - run : npx playwright install chromium
4633
47- - name : Lint (with GitHub annotations)
48- run : vite lint --deny-warnings --format github --type-aware --type-check
34+ - run : vite run fmt:check
4935
50- - name : Run tests
51- run : vite test
36+ - run : vite run lint --format github
5237
53- - name : Build
54- run : vite run @vibe/dashboard#build
38+ - run : vite run test
5539
56- - name : Verify cache (second run)
57- run : vite run ready
40+ - run : vite run @vibe/dashboard#build
5841
59- - name : Check build artifacts
60- if : ${{ matrix.os != 'windows-latest' }}
61- run : |
62- if [ -d "apps/dashboard/dist" ]; then
63- echo "✅ Build artifacts created successfully"
64- ls -la apps/dashboard/dist/
65- else
66- echo "❌ Build artifacts not found"
67- exit 1
68- fi
42+ - run : vite run ready
0 commit comments