File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 2020 node-version : ' 18'
2121 cache : ' npm'
2222
23- - name : Install dependencies
24- run : npm ci
23+ - name : Clean and install dependencies
24+ run : |
25+ # Clean npm cache and remove lock file to fix Rollup issue
26+ npm cache clean --force
27+ rm -f package-lock.json
28+ rm -rf node_modules
29+ # Fresh install
30+ npm install
31+ # Verify installation
32+ npm ls @rollup/rollup-linux-x64-gnu || echo "Rollup native dependency not found, continuing..."
2533
2634 - name : Install Supabase CLI
2735 run : |
6169 # Start Angular with local configuration
6270 npm run start:local &
6371 # Wait for app to start
64- sleep 30
65- # Wait for app to be ready
66- timeout 60 bash -c 'until curl -f http://localhost:4200; do sleep 2 ; done'
72+ sleep 45
73+ # Wait for app to be ready with longer timeout
74+ timeout 120 bash -c 'until curl -f http://localhost:4200; do sleep 3 ; done'
6775 env :
6876 # Set environment variables for local Supabase
6977 SUPABASE_URL : http://127.0.0.1:54321
You can’t perform that action at this time.
0 commit comments