Skip to content

Playwright is testing code examples 🚀 #596

Playwright is testing code examples 🚀

Playwright is testing code examples 🚀 #596

Workflow file for this run

name: Code examples
run-name: Playwright is testing code examples 🚀
on:
workflow_dispatch:
schedule:
- cron: "0 7 * * *"
jobs:
run-code_examples-tests:
runs-on: macos-14
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- run: corepack enable
- run: pnpm --version
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Install dependencies with Playwright
run: |
pnpm playwright install --with-deps
- name: Run tests
run: |
cd apps/e2e-tests
pnpm test:examples