mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	Reverts commits:
  - Disabling coveralls temporarilly
    aedf066337
  - Tmo disabling of coveralls
    a6b4cb24b8
I'm not 100% sure whether the `parallel` option is needed,
but I've left it disabled for now, since it'd would mean that we need
to merge both the `test.yml` and the `e2e.yml` file together.
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			903 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			903 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
name: E2E
 | 
						|
 | 
						|
on: [push, pull_request]
 | 
						|
 | 
						|
permissions:
 | 
						|
  contents: read
 | 
						|
 | 
						|
jobs:
 | 
						|
  build:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    strategy:
 | 
						|
      matrix:
 | 
						|
        node-version: [16.x]
 | 
						|
    steps:
 | 
						|
    - uses: actions/checkout@v3
 | 
						|
 | 
						|
    - name: Setup Node.js ${{ matrix.node-version }}
 | 
						|
      uses: actions/setup-node@v3
 | 
						|
      with:
 | 
						|
        cache: yarn
 | 
						|
        node-version: ${{ matrix.node-version }}
 | 
						|
 | 
						|
    - name: Install Yarn
 | 
						|
      run: npm i yarn --global
 | 
						|
 | 
						|
    - name: Install Packages
 | 
						|
      run: |
 | 
						|
        yarn install --frozen-lockfile
 | 
						|
      env:
 | 
						|
        CYPRESS_CACHE_FOLDER: .cache/Cypress
 | 
						|
 | 
						|
    - name: Run Build
 | 
						|
      run: yarn build
 | 
						|
 | 
						|
    - name: Run E2E Tests
 | 
						|
      run: yarn e2e
 | 
						|
      env:
 | 
						|
        CYPRESS_CACHE_FOLDER: .cache/Cypress
 | 
						|
 | 
						|
    - name: Upload Coverage to Coveralls
 | 
						|
        uses: coverallsapp/github-action@master
 | 
						|
        with:
 | 
						|
          github-token: ${{ secrets.GITHUB_TOKEN }}
 | 
						|
          flag-name: e2e
 |