Skip to content

manadream/react-native-gitlab-ci-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

react-native-gitlab-ci-build

Docker file for building react native applications in Gitlab CI

Based on https://hub.docker.com/r/magiczvn/gitlab-ci-react-native-android/

sample .gitlab-ci.yml:

image: jpkrause/react-native-gitlab-ci-build

cache:
  paths:
    - node_modules/
    - .gradle/

stages:
  - build

before_script:
  - export GRADLE_USER_HOME=$(pwd)/.gradle
  - chmod +x ./android/gradlew

build:
  stage: build
  script:
    - npm install --unsafe-perm
    - cd android && ./gradlew assembleDebug --stacktrace
  artifacts:
    paths:
    - android/app/build/outputs/apk

About

Docker file for building react native applications in Gitlab CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published