This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
Avoid crashing the app if the app delegate is written in Swift and do… #13691
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: js-flipper | |
# This action runs on 'git push' and PRs | |
on: [push, pull_request] | |
jobs: | |
test-js-flipper: | |
defaults: | |
run: | |
working-directory: js/js-flipper | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: '18.x' | |
- name: yarn install (with retry) | |
uses: nick-fields/[email protected] | |
with: | |
command: cd js/js-flipper && yarn | |
timeout_minutes: 30 | |
max_attempts: 3 | |
- name: lint | |
run: yarn lint | |
- name: test | |
run: yarn test --coverage | |
build-react-example: | |
defaults: | |
run: | |
working-directory: js/react-flipper-example | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: '18.x' | |
- name: js-flipper - yarn install (with retry) | |
uses: nick-fields/[email protected] | |
with: | |
command: cd js/js-flipper && yarn | |
timeout_minutes: 30 | |
max_attempts: 3 | |
- name: js-flipper build | |
run: yarn build | |
working-directory: js/js-flipper | |
- name: yarn install (with retry) | |
uses: nick-fields/[email protected] | |
with: | |
command: cd js/react-flipper-example && yarn | |
timeout_minutes: 30 | |
max_attempts: 3 | |
- name: link local js-flipper | |
run: yarn relative-deps | |
- name: build | |
run: yarn build |