Skip to content

Instantly share code, notes, and snippets.

@just1and0
Created July 21, 2020 00:03
Show Gist options
  • Select an option

  • Save just1and0/11aa8edeaa61ca532433a30f14f7dea5 to your computer and use it in GitHub Desktop.

Select an option

Save just1and0/11aa8edeaa61ca532433a30f14f7dea5 to your computer and use it in GitHub Desktop.
language: node_js
node_js:
- node
- lts/*
cache:
directories:
- ~/.npm
- .jest
before_script:
- npm install -g npm@latest
- npm install
- npm install jest-expo
- npm install -g expo-cli
script:
- npm ci
- npx jest --ci
jobs:
include:
- stage: deploy
node_js: lts/*
script:
- npm ci
- npx expo login -u $EXPO_USERNAME -p $EXPO_PASSWORD
- npx expo publish --non-interactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment