Skip to content

v13 (beta) - React 18-19, uses React Test Renderer #270

v13 (beta) - React 18-19, uses React Test Renderer

v13 (beta) - React 18-19, uses React Test Renderer #270

Workflow file for this run

name: Validate Example Apps
on:
push:
branches: [main]
paths: ['examples/**']
pull_request:
branches: ['**']
paths: ['examples/**']
jobs:
test-example:
strategy:
matrix:
example: [basic, cookbook]
name: Test Example
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install and build
run: yarn --cwd examples/${{ matrix.example }} install
- name: Type Check
run: yarn --cwd examples/${{ matrix.example }} typecheck
- name: Test
run: yarn --cwd examples/${{ matrix.example }} test