Skip to content
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

Migrate to CircleCI 2.0 #2046

Merged
merged 1 commit into from
Jul 17, 2017
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
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 2
jobs:
build:
working_directory: ~/react-native-router-flux
docker:
- image: circleci/node:7
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: install-dependencies
command: yarn install --frozen-lockfile
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- ~/.cache/yarn
- run:
name: test
command: yarn test
- run:
name: linter
command: yarn eslint
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ local.properties
# node.js
#
node_modules/
npm-debug.log
*.log

.vscode/
10 changes: 0 additions & 10 deletions circle.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "node node_modules/react-native/local-cli/cli.js start",
"postinstall": "./node_modules/.bin/opencollective postinstall",
"build": "babel src -d dist --presets react-native-stage-0/decorator-support",
"eslint": "./node_modules/.bin/eslint src/ __tests__/",
"eslint": "eslint src/ __tests__/",
"test": "jest"
},
"dependencies": {
Expand Down
Loading