Skip to content

Commit cec6196

Browse files
authored
Fix CI (reactjs#952)
* Checksum against lockfile * Use Node 8 Docker image
1 parent 3346d71 commit cec6196

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:latest
5+
- image: circleci/node:8
66
steps:
77
- checkout
88
- restore_cache:
99
keys:
10-
- dependencies-{{ checksum "package.json" }}
10+
- dependencies-{{ checksum "yarn.lock" }}
1111
# fallback to using the latest cache if no exact match is found
1212
- dependencies-
1313
- run:
@@ -16,7 +16,7 @@ jobs:
1616
- save_cache:
1717
paths:
1818
- node_modules
19-
key: dependencies-{{ checksum "package.json" }}
19+
key: dependencies-{{ checksum "yarn.lock" }}
2020
- run:
2121
name: Check Prettier, ESLint, Flow
2222
command: yarn ci-check

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"unist-util-visit": "^1.1.3"
6363
},
6464
"engines": {
65-
"node": ">=8.4.0"
65+
"node": "^8.4.0"
6666
},
6767
"homepage": "https://reactjs.org/",
6868
"keywords": [

0 commit comments

Comments
 (0)