Skip to content

Bump @playwright/test from 1.35.0 to 1.35.1 #323

Bump @playwright/test from 1.35.0 to 1.35.1

Bump @playwright/test from 1.35.0 to 1.35.1 #323

Workflow file for this run

name: Playwright Tests
on:
workflow_dispatch:
pull_request:
jobs:
test:
name: Test Playwright
timeout-minutes: 60
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: Restore cache
uses: actions/cache@v3
with:
path: |
public
.cache
key: ${{ runner.os }}-gatsby-build-${{ hashFiles('public') }}
restore-keys: |
${{ runner.os }}-gatsby-build-
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install chromium
- name: Build with Gatsby
env:
GITHUB_TOKEN: ${{ secrets.BUILD_GITHUB_TOKEN }}
run: npm run build
- name: Run Playwright tests
run: npx playwright test
- uses: test-summary/action@v2
with:
paths: "results.xml"