Skip to content

added page2 to example project #420

added page2 to example project

added page2 to example project #420

Workflow file for this run

name: Tests
on:
push:
branches: [main, feature/**]
pull_request:
branches: [main, feature/**]
workflow_dispatch:
inputs:
mode:
description: 'Runtime Mode: "standard" or "interactive"'
required: false
default: 'standard'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v3
id: playwright-cache
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-1.28.0
- run: npm ci
- run: npm run check:types
- run: npx playwright install --with-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'
- uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- run: DEBUG=pw:webserver CI=true npm run test:e2e
- uses: actions/upload-artifact@v3
if: always()
with:
path: test-results