Skip to content

feat: Migrate Async Storage v1 to LEGACY #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 5 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2

default job config: &defaults
working_directory: ~/async_storage

checkout step for each job: &addWorkspace
attach_workspace:
at: ~/async_storage
Expand Down Expand Up @@ -76,7 +76,7 @@ save yarn cache: &cache_save_yarn

restore yarn cache: &cache_restore_yarn
name: Restoring Yarn cache
keys:
keys:
- v1-yarn-cache-{{ checksum "package.json" }}-{{ arch }}

# gradle
Expand All @@ -94,12 +94,12 @@ save gradle build cache: &cache_save_gradle_build

restore gradle wrapper cache: &cache_restore_gradle_wrapper
name: Restoring Gradle Wrapper cache
keys:
keys:
- gradle-wrapper-v1-{{ checksum "example/android/gradle/wrapper/gradle-wrapper.properties" }}

restore gradle build cache: &cache_restore_gradle_build
name: Restoring Gradle app/build cache
keys:
keys:
- app-build-gradle-v1-{{ checksum "example/android/app/build.gradle" }}


Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
node -v
- save-cache: *cache_save_brew
- restore-cache: *cache_restore_yarn
- run:
- run:
name: Installing Yarn dependencies
command: yarn --pure-lockfile --non-interactive --cache-folder ~/.cache/yarn
- save-cache: *cache_save_yarn
Expand Down Expand Up @@ -277,14 +277,6 @@ jobs:
name: Run e2e tests
command: yarn test:e2e:android

"Publish: semantic release":
<<: *js_defaults
steps:
- *addWorkspace
- run:
name: Publish to NPM registry
command: yarn ci:publish

# ==============================
# WORK FLOWS
# ==============================
Expand Down Expand Up @@ -312,10 +304,3 @@ workflows:
- "Test: lint"
- "Test: flow"
- "Build: Android release apk"
- "Publish: semantic release":
requires:
- "Test: Android e2e"
- "Test: iOS e2e"
filters:
branches:
only: master
16 changes: 0 additions & 16 deletions .releaserc

This file was deleted.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"test:flow": "flow check",
"test:lint": "eslint 'lib/**/*.js' 'example/**/*.js'",
"test:e2e:ios": "detox test -c ios",
"test:e2e:android": "detox test -c android",
"ci:publish": "yarn semantic-release"
"test:e2e:android": "detox test -c android"
},
"peerDependencies": {
"react": "^16.0",
Expand All @@ -39,7 +38,6 @@
"devDependencies": {
"@babel/core": "7.0.0",
"@react-native-community/eslint-config": "0.0.2",
"@semantic-release/git": "7.0.8",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "24.1.0",
"babel-plugin-module-resolver": "3.1.3",
Expand All @@ -50,8 +48,7 @@
"metro-react-native-babel-preset": "0.51.1",
"react": "16.6.3",
"react-native": "0.58.4",
"react-test-renderer": "16.6.3",
"semantic-release": "15.13.3"
"react-test-renderer": "16.6.3"
},
"jest": {
"preset": "react-native",
Expand Down
Loading