File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,30 +15,34 @@ jobs:
1515 deploy :
1616 name : Deploy Anion to Cloudflare Workers
1717 runs-on : ubuntu-latest
18- defaults :
19- run :
20- working-directory : APPS/anion
2118 steps :
2219 - uses : actions/checkout@v4
2320 - uses : actions/setup-node@v4
2421 with :
2522 node-version : ' 22'
2623 cache : ' npm'
24+ - name : Diagnose tree
25+ run : |
26+ pwd
27+ ls -la
28+ echo "---APPS---"
29+ ls -la APPS || echo "APPS missing"
30+ echo "---APPS/anion---"
31+ ls -la APPS/anion 2>/dev/null | head -20 || echo "APPS/anion missing"
2732 - name : Install dependencies
2833 run : npm ci
29- working-directory : .
3034 - name : Build Next.js
31- run : npm run build
35+ run : npm --workspace=@ftc/anion run build
3236 env :
3337 NEXT_PUBLIC_SUPABASE_URL : ${{ secrets.ANION_SUPABASE_URL }}
3438 NEXT_PUBLIC_SUPABASE_ANON_KEY : ${{ secrets.ANION_SUPABASE_ANON_KEY }}
3539 - name : Build Cloudflare Worker
36- run : npm run build:worker
40+ run : npm --workspace=@ftc/anion run build:worker
3741 env :
3842 NEXT_PUBLIC_SUPABASE_URL : ${{ secrets.ANION_SUPABASE_URL }}
3943 NEXT_PUBLIC_SUPABASE_ANON_KEY : ${{ secrets.ANION_SUPABASE_ANON_KEY }}
4044 - name : Deploy to Cloudflare Workers
41- run : npm run deploy:worker
45+ run : npm --workspace=@ftc/anion run deploy:worker
4246 env :
4347 CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
4448 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
You can’t perform that action at this time.
0 commit comments