Skip to content

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Build Docker image
run: docker build -t playwright-tests .
- name: Run Playwright tests in Docker
run: docker run --rm -v ${{ github.workspace }}:/work -w /work playwright-tests