Browse Source
Fix CI (#952)
* Checksum against lockfile
* Use Node 8 Docker image
main
Alex Krolick
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
.circleci/config.yml
-
package.json
|
|
@ -2,12 +2,12 @@ version: 2 |
|
|
|
jobs: |
|
|
|
build: |
|
|
|
docker: |
|
|
|
- image: circleci/node:latest |
|
|
|
- image: circleci/node:8 |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
keys: |
|
|
|
- dependencies-{{ checksum "package.json" }} |
|
|
|
- dependencies-{{ checksum "yarn.lock" }} |
|
|
|
# fallback to using the latest cache if no exact match is found |
|
|
|
- dependencies- |
|
|
|
- run: |
|
|
@ -16,7 +16,7 @@ jobs: |
|
|
|
- save_cache: |
|
|
|
paths: |
|
|
|
- node_modules |
|
|
|
key: dependencies-{{ checksum "package.json" }} |
|
|
|
key: dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- run: |
|
|
|
name: Check Prettier, ESLint, Flow |
|
|
|
command: yarn ci-check |
|
|
|
|
|
@ -62,7 +62,7 @@ |
|
|
|
"unist-util-visit": "^1.1.3" |
|
|
|
}, |
|
|
|
"engines": { |
|
|
|
"node": ">=8.4.0" |
|
|
|
"node": "^8.4.0" |
|
|
|
}, |
|
|
|
"homepage": "https://reactjs.org/", |
|
|
|
"keywords": [ |
|
|
|