File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -47,29 +47,24 @@ jobs:
4747              "npm": "10.x" 
4848            }, 
4949            "scripts": { 
50-               "start": "node_modules/.bin/serve -s . -p $PORT" 
51-             }, 
52-             "dependencies": { 
53-               "serve": "^14.2.4" 
50+               "start": "npx [email protected]  -s . -p $PORT" 5451            } 
5552          } 
5653          EOF 
5754
58-       - name : Install production dependencies in dist 
55+       - name : Verify build output 
5956        run : | 
6057          cd dist 
61-           npm install --production 
62-            
63-           # Verify serve installation 
64-           echo "Verifying serve installation:" 
65-           ls -la node_modules/.bin/serve 
66-           ./node_modules/.bin/serve --version 
58+           echo "Build output verification:" 
59+           ls -la 
60+           echo "Package.json content:" 
61+           cat package.json 
6762
68-       - name : Upload artifact (contents of dist only) 
63+       - name : Upload artifact (contents of dist folder  only) 
6964        uses : actions/upload-artifact@v4 
7065        with :
7166          name : webapp 
72-           path : dist/*  
67+           path : dist/ 
7368
7469  deploy :
7570    runs-on : ubuntu-latest 
8378        uses : actions/download-artifact@v4 
8479        with :
8580          name : webapp 
81+           path : . 
82+       
83+       - name : Verify deployment package 
84+         run : | 
85+           echo "Deployment package contents:" 
86+           ls -la 
87+           echo "Package.json:" 
88+           cat package.json 
8689
8790      - name : Login to Azure 
8891        uses : azure/login@v2 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments