File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed
Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 1- name : Test Example Apps
1+ name : Validate Example Apps
22
3- on : [workflow_dispatch]
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : ['**']
48
59jobs :
610 test-example :
711 strategy :
812 matrix :
9- node : [18, 20, 22 ]
10- example : [basic, react-navigation]
13+ example : [basic, cookbook ]
14+
1115 name : Test Example
1216 runs-on : ubuntu-latest
1317 timeout-minutes : 10
1822 - name : Setup Node.js
1923 uses : actions/setup-node@v4
2024 with :
21- node-version : ${{ matrix.node }}
25+ node-version : 20
2226 cache : ' yarn'
2327
2428 - name : Install and build
25- run : cd examples/${{ matrix.example }} && yarn install && yarn test
29+ run : yarn --cwd examples/${{ matrix.example }} install
30+
31+ - name : Type Check
32+ run : yarn --cwd examples/${{ matrix.example }} typecheck
33+
34+ - name : Test
35+ run : yarn --cwd examples/${{ matrix.example }} test
You can’t perform that action at this time.
0 commit comments