-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-picks previous token updates to merge into master (#19)
* cherry-pick changes from #8 * fix(json): extraneous comma * fix(tokens): remove extraneous cafe-based properties
- Loading branch information
1 parent
1dc4acd
commit 30c5613
Showing
10 changed files
with
239 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
lint: | ||
working_directory: ~/react-native-sdk | ||
docker: | ||
- image: circleci/node:8 | ||
steps: | ||
- restore_cache: # If any cache exists, it'll way speedup these checkouts | ||
keys: | ||
- source-v2-{{ arch }}-{{ .Branch }}-{{ .Revision }} | ||
- source-v2-{{ arch }}-{{ .Branch }}- | ||
- source-v2-{{ arch }}- | ||
|
||
- checkout | ||
|
||
- save_cache: | ||
key: source-v2-{{ arch }}-{{ .Branch }}-{{ .Revision }} | ||
paths: | ||
- ".git" | ||
|
||
- restore_cache: | ||
key: yarn-v1-{{ checksum "yarn.lock" }}-{{ arch }} | ||
|
||
- restore_cache: | ||
key: node-v1-{{ checksum "package.json" }}-{{ arch }} | ||
|
||
- run: yarn install | ||
|
||
- run: | ||
name: lint | ||
command: | | ||
yarn lint | ||
# cache our yarn cache | ||
- save_cache: | ||
key: yarn-v1-{{ checksum "yarn.lock" }}-{{ arch }} | ||
paths: | ||
- ~/.cache/yarn | ||
|
||
# cache our node_modules | ||
- save_cache: | ||
key: node-v1-{{ checksum "package.json" }}-{{ arch }} | ||
paths: | ||
- node_modules | ||
tests: | ||
working_directory: ~/textile-mobile | ||
docker: | ||
- image: circleci/node:8 | ||
steps: | ||
- restore_cache: # If any cache exists, it'll way speedup these checkouts | ||
keys: | ||
- source-v2-{{ arch }}-{{ .Branch }}-{{ .Revision }} | ||
- source-v2-{{ arch }}-{{ .Branch }}- | ||
- source-v2-{{ arch }}- | ||
|
||
- checkout | ||
|
||
- save_cache: | ||
key: source-v2-{{ arch }}-{{ .Branch }}-{{ .Revision }} | ||
paths: | ||
- ".git" | ||
|
||
- restore_cache: | ||
key: yarn-v1-{{ checksum "yarn.lock" }}-{{ arch }} | ||
|
||
- restore_cache: | ||
key: node-v1-{{ checksum "package.json" }}-{{ arch }} | ||
|
||
- run: yarn install | ||
|
||
- run: | ||
name: jest tests | ||
command: | | ||
mkdir -p test-results/jest | ||
yarn run test | ||
environment: | ||
JEST_JUNIT_OUTPUT: test-results/jest/junit.xml | ||
|
||
- store_test_results: | ||
path: test-results | ||
|
||
- store_artifacts: | ||
path: test-results | ||
|
||
workflows: | ||
version: 2 | ||
dev: | ||
jobs: | ||
- lint: | ||
filters: | ||
branches: | ||
ignore: | ||
- master | ||
- tests: | ||
filters: | ||
branches: | ||
ignore: | ||
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# not in npmignore | ||
dist/ | ||
|
||
# Android | ||
|
||
*.keystore | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# Android | ||
|
||
*.keystore | ||
*.jks | ||
android/**/*.settings | ||
android/**/*.project | ||
android/**/*.classpath | ||
example/**/*.settings | ||
example/**/*.project | ||
example/**/*.classpath | ||
|
||
# OSX | ||
# | ||
.DS_Store | ||
|
||
.tmp | ||
|
||
# Xcode | ||
# | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
project.xcworkspace | ||
|
||
# Android/IntelliJ | ||
# | ||
build/ | ||
.idea | ||
.gradle | ||
local.properties | ||
*.iml | ||
|
||
# Visual Studio Code | ||
# | ||
.vscode/ | ||
|
||
# node.js | ||
# | ||
node_modules/ | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# BUCK | ||
buck-out/ | ||
\.buckd/ | ||
*.keystore | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the | ||
# screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://docs.fastlane.tools/best-practices/source-control/ | ||
|
||
**/fastlane/report.xml | ||
**/fastlane/Preview.html | ||
**/fastlane/screenshots | ||
**/fastlane/test_output | ||
|
||
# Bundle artifact | ||
*.jsbundle | ||
sourcemap.js | ||
|
||
# Jest | ||
# | ||
.jest/ | ||
coverage/ | ||
|
||
# React Native Config | ||
.env | ||
.env.production | ||
.env.staging | ||
.env.default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters