mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
26 lines
574 B
YAML
26 lines
574 B
YAML
name: Test Example Apps
|
|
|
|
on: [workflow_dispatch]
|
|
|
|
jobs:
|
|
test-example:
|
|
strategy:
|
|
matrix:
|
|
node: [14, 16, 18]
|
|
example: [basic, redux, react-navigation]
|
|
name: Test Example
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
cache: 'yarn'
|
|
|
|
- name: Install and build
|
|
run: cd examples/${{ matrix.example }} && yarn install && yarn test
|