Skip to content

Magiczvn/gitlab-ci-react-native-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Docker Build Statu Docker Pulls Docker Automated buil

gitlab-ci-react-native-android

GitLab CI image for building react native apps in Android
Base on https://github.com/linehat/gitlab-ci-react-native-android/blob/master/Dockerfile

.gitlab-ci.yml

image: magiczvn/gitlab-ci-react-native-android

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
  - cd android && ./gradlew assembleDebug --stacktrace
  - mv ./app/build/outputs/apk/app-debug.apk ../../app-debug.apk
  artifacts:
   paths:
   - app-debug.apk

About

GitLab CI image for building react native apps in Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published