Skip to content

Instantly share code, notes, and snippets.

View oliviayizhang's full-sized avatar

Olivia Zhang oliviayizhang

View GitHub Profile

Keybase proof

I hereby claim:

  • I am oliviayizhang on github.
  • I am olive0131 (https://keybase.io/olive0131) on keybase.
  • I have a public key ASBJj_VPHhDCUjfpDeATfU-K2pewuN2uP4FCGJlvo2alCgo

To claim this, I am signing this object:

@oliviayizhang
oliviayizhang / config.yml
Created May 15, 2019 18:22
Circle CI configuration for Expo project
version: 2
publish: &publish
working_directory: ~/loplop-native
docker:
- image: circleci/node:10.13.0
steps:
- checkout
- restore_cache:
name: Restore yarn package cache
key: v1-cache-dependencies-{{ checksum "yarn.lock" }}-{{ checksum "package.json" }}-{{ arch }}
@oliviayizhang
oliviayizhang / circleci-settings-highlight.yml
Last active May 21, 2019 19:27
Part of our CircleCI configuration for hashphrase
...other settings are omitted for brevity
- run:
name: Login into Expo
command: npx expo login -u $EXPO_USERNAME -p $EXPO_PASSWORD
- run:
name: Save current branch name to an env variable
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
echo 'export EXPO_RELEASE_CHANNEL="default"' >> $BASH_ENV