Skip to content

Scaffold playwright tests #1

Scaffold playwright tests

Scaffold playwright tests #1

Workflow file for this run

name: E2E Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit-tests:
name: Unit tests on Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18']
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x' # Specify the Node.js version here
- name: Install dependencies
run: npm install
- name: Start WordPress Environment and Run E2E tests
run: npm run test:e2e