mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	Update build.yml
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@@ -8,7 +8,7 @@ jobs:
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        node-version: [10.x, 12.x]
 | 
			
		||||
        browser: [chrome]
 | 
			
		||||
        browser: [chrome, firefox]
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v1
 | 
			
		||||
 | 
			
		||||
@@ -58,12 +58,15 @@ jobs:
 | 
			
		||||
    - uses: cypress-io/github-action@v1
 | 
			
		||||
      with:
 | 
			
		||||
        browser: ${{ matrix.browser }}
 | 
			
		||||
        group: ${{ matrix.browser }}
 | 
			
		||||
        headless: true
 | 
			
		||||
        command-prefix: 'percy exec -- npx'
 | 
			
		||||
        start: yarn dev
 | 
			
		||||
        wait-on: 'http://localhost:9000'
 | 
			
		||||
        install: false
 | 
			
		||||
        working-directory: cypress
 | 
			
		||||
        parallel: true
 | 
			
		||||
        parallelism: 4
 | 
			
		||||
      env:
 | 
			
		||||
        PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user