Skip to content
A Semaphore demo CI pipeline for a React Native project targeting iOS and Android.
Ruby JavaScript Objective-C Java Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.semaphore
__tests__
android sempahore android setup Oct 23, 2019
e2e
fastlane updated readme Nov 4, 2019
images
ios fastline ios / adnroid setup Oct 14, 2019
.buckconfig first commit, initial setup, eslint, jest test, detox ios test Oct 12, 2019
.eslintrc.js
.flowconfig
.gitattributes
.gitignore
.nvmrc
.prettierrc.js
.watchmanconfig
App.js
Gemfile
Gemfile.lock
Matchfile fastline ios / adnroid setup Oct 14, 2019
README.md
app.json
babel.config.js
index.js
metro.config.js
package-lock.json
package.json

README.md

CI status

Semaphore demo CI/CD pipeline using React Native

Example application and CI/CD pipeline showing how to run a React Native project on Semaphore 2.0. Uses React Native CLI Quickstart.

CI/CD on Semaphore

  1. Fork this repository and use it to create a project.

The CI pipeline will look like this:

CI pipeline on Semaphore

To run just iOS CI, change pipeline file to run ios.yml:

The CI pipeline will look like this (iOS):

CI iOS pipeline on Semaphore

To run just Andoroid CI, change pipeline file to run android.yml:

The CI pipeline will look like this (Android):

CI adnroid pipeline on Semaphore

The example pipeline contains 4 blocks:

Local project setup

Installation

$ npm install

Running the app

$ npm start

Lint

$ npm run lint

Unit and integration tests

$ npm test

e2e UI tests iOS

$ npm run detox-ios-build
$ npm run detox-ios-test

e2e UI tests android

$ npm run detox-android-build
$ npm run detox-android-test

License

Copyright (c) 2019 Rendered Text

Distributed under the MIT License. See the file LICENSE.md.

You can’t perform that action at this time.