Install and configure Playwright #12
							
								
								
									
										6
									
								
								.github/workflows/playwright.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/playwright.yml
									
									
									
									
										vendored
									
									
								
							| @ -15,9 +15,11 @@ jobs: | |||||||
|         node-version: lts/* |         node-version: lts/* | ||||||
|     - name: Install dependencies |     - name: Install dependencies | ||||||
|       run: npm install -g pnpm && pnpm install |       run: npm install -g pnpm && pnpm install | ||||||
|     - name: Build and start the service that will be tested |     - name: Build the service that will be tested | ||||||
|       run: npm run build && npm run start & |       run: npm run build | ||||||
|     - name: Install Playwright Browsers |     - name: Install Playwright Browsers | ||||||
|       run: pnpm exec playwright install --with-deps |       run: pnpm exec playwright install --with-deps | ||||||
|  |     - name: Run the service that will be tested | ||||||
|  |       run: npm run start & | ||||||
|     - name: Run Playwright tests |     - name: Run Playwright tests | ||||||
|       run: pnpm exec playwright test |       run: pnpm exec playwright test | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user