27 lines
		
	
	
		
			621 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			621 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: E2E tests
 | |
| on:
 | |
|   pull_request:
 | |
|   push:
 | |
|     branches:
 | |
|       - main
 | |
| jobs:
 | |
|   test:
 | |
|     timeout-minutes: 60
 | |
|     runs-on: ubuntu-latest
 | |
|     strategy:
 | |
|       matrix:
 | |
|         shard: [1/3, 2/3, 3/3]
 | |
|     steps:
 | |
|       - uses: actions/checkout@v3
 | |
|       - run: corepack enable
 | |
|       - uses: actions/setup-node@v3
 | |
|         with:
 | |
|           node-version: 16
 | |
|           cache: 'pnpm'
 | |
|       - name: Install dependencies
 | |
|         run: pnpm install
 | |
|       - name: Install Playwright Browsers
 | |
|         run: pnpm exec playwright install --with-deps
 | |
|       - name: Run Playwright tests
 | |
|         run: pnpm run test:e2e --shard=${{ matrix.shard }}
 |