Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	fix: cyberpunk build (this time, for real!)
Browse files
    	
        .github/workflows/hf-space.yml
    CHANGED
    
    | @@ -27,18 +27,12 @@ jobs: | |
| 27 | 
             
                  - name: Install dependencies
         | 
| 28 | 
             
                    run: pnpm install --frozen-lockfile
         | 
| 29 |  | 
| 30 | 
            -
                  - name:  | 
| 31 | 
            -
                    run: pnpm --filter "@lerobot/web" run build
         | 
| 32 | 
            -
             | 
| 33 | 
            -
                  - name: Pack web package and update cyberpunk dependency
         | 
| 34 | 
             
                    run: |
         | 
| 35 | 
            -
                      cd  | 
| 36 | 
            -
                       | 
| 37 | 
            -
                       | 
| 38 | 
            -
                       | 
| 39 | 
            -
                      # Replace workspace dependency with actual version
         | 
| 40 | 
            -
                      sed -i 's/"@lerobot\/web": "workspace:\*"/"@lerobot\/web": "file:..\/..\/packages\/web\/lerobot-web-'$WEB_VERSION'.tgz"/' package.json
         | 
| 41 | 
            -
                      echo "Updated cyberpunk package.json to use packed version"
         | 
| 42 |  | 
| 43 | 
             
                  - name: Prepare README for HF Space
         | 
| 44 | 
             
                    run: |
         | 
| @@ -55,7 +49,7 @@ jobs: | |
| 55 |  | 
| 56 | 
             
                  - name: Commit HF Space changes
         | 
| 57 | 
             
                    run: |
         | 
| 58 | 
            -
                      git add README.md examples/cyberpunk-standalone/package.json | 
| 59 | 
             
                      git commit -m "Add HF Space frontmatter and update cyberpunk dependency for deployment" || echo "No changes to commit"
         | 
| 60 |  | 
| 61 | 
             
                  - name: Push to hub
         | 
|  | |
| 27 | 
             
                  - name: Install dependencies
         | 
| 28 | 
             
                    run: pnpm install --frozen-lockfile
         | 
| 29 |  | 
| 30 | 
            +
                  - name: Update cyberpunk dependency to use published version
         | 
|  | |
|  | |
|  | |
| 31 | 
             
                    run: |
         | 
| 32 | 
            +
                      cd examples/cyberpunk-standalone
         | 
| 33 | 
            +
                      # Replace workspace dependency with published version
         | 
| 34 | 
            +
                      sed -i 's/"@lerobot\/web": "workspace:\*"/"@lerobot\/web": "^0.1.1"/' package.json
         | 
| 35 | 
            +
                      echo "Updated cyberpunk package.json to use published version"
         | 
|  | |
|  | |
|  | |
| 36 |  | 
| 37 | 
             
                  - name: Prepare README for HF Space
         | 
| 38 | 
             
                    run: |
         | 
|  | |
| 49 |  | 
| 50 | 
             
                  - name: Commit HF Space changes
         | 
| 51 | 
             
                    run: |
         | 
| 52 | 
            +
                      git add README.md examples/cyberpunk-standalone/package.json
         | 
| 53 | 
             
                      git commit -m "Add HF Space frontmatter and update cyberpunk dependency for deployment" || echo "No changes to commit"
         | 
| 54 |  | 
| 55 | 
             
                  - name: Push to hub
         | 
