File tree Expand file tree Collapse file tree 4 files changed +8956
-10
lines changed Expand file tree Collapse file tree 4 files changed +8956
-10
lines changed Original file line number Diff line number Diff line change @@ -19,23 +19,25 @@ jobs:
1919  deploy :
2020    runs-on : ubuntu-latest 
2121    steps :
22-       - uses : actions/checkout@v2 
23- 
24-       - name : Setup Node 
25-         uses : actions/setup-node@v1 
22+       - uses : actions/checkout@v3 
23+       - uses : pnpm/action-setup@v2 
24+         with :
25+           version : 8 
26+       - uses : actions/setup-node@v3 
2627        with :
27-           node-version : ' 16' 
28-       - run : cd ../ && npm ci 
29-       - run : npm ci 
30-       - run : npm run build 
28+           node-version : " 16" 
29+           cache : " pnpm" 
30+       - run : cd ../ && pnpm install 
31+       - run : pnpm install 
32+       - run : pnpm build 
3133        env :
3234          REACT_APP_TELEMETRY_API : https://telemetry-api.ufsolargators.org 
3335          REACT_APP_GOOGLE_MAPS_KEY : " ${{ vars.REACT_APP_GOOGLE_MAPS_KEY }}" 
3436
3537      - name : Upload artifact 
3638        uses : actions/upload-pages-artifact@v1 
3739        with :
38-           path : ' ./client/build' 
40+           path : " ./client/build" 
3941
4042      - name : Deploy to GitHub Pages 
4143        id : deployment 
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ WORKDIR /app
55COPY  ./package.json ./package.json
66COPY  ./package-lock.json ./package-lock.json
77
8- RUN  npm ci 
8+ RUN  pnpm install 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments