mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 13:13:18 +00:00 
			
		
		
		
	xvfb-action fix
This commit is contained in:
		
							parent
							
								
									12ea4a2ba2
								
							
						
					
					
						commit
						a09b308b4e
					
				
							
								
								
									
										6
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							@ -110,7 +110,7 @@ jobs:
 | 
				
			|||||||
    - run: npm ci
 | 
					    - run: npm ci
 | 
				
			||||||
      working-directory: ./editors/code
 | 
					      working-directory: ./editors/code
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - run: npm audit # || { sleep 10 && npm audit; } || { sleep 30 && npm audit; }
 | 
					    - run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; }
 | 
				
			||||||
      working-directory: ./editors/code
 | 
					      working-directory: ./editors/code
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - run: npm run lint
 | 
					    - run: npm run lint
 | 
				
			||||||
@ -119,8 +119,8 @@ jobs:
 | 
				
			|||||||
    - name: Run vscode tests
 | 
					    - name: Run vscode tests
 | 
				
			||||||
      uses: GabrielBB/xvfb-action@v1.2
 | 
					      uses: GabrielBB/xvfb-action@v1.2
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        run: npm test
 | 
					        run: npm --prefix ./editors/code test
 | 
				
			||||||
        working-directory: ./editors/code
 | 
					        # working-directory: ./editors/code  # does not work: https://github.com/GabrielBB/xvfb-action/issues/8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - run: npm run package --scripts-prepend-node-path
 | 
					    - run: npm run package --scripts-prepend-node-path
 | 
				
			||||||
      working-directory: ./editors/code
 | 
					      working-directory: ./editors/code
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user