File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,17 @@ jobs:
58
58
- run :
59
59
name : Install dependencies
60
60
command : npm install
61
+ - save_cache :
62
+ key : v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
63
+ paths :
64
+ - node_modules
61
65
- run :
62
66
name : Install eslint 5
63
67
command : |
64
68
# We need to execute this command twice because of npm's bug.
65
69
# See also: https://npm.community/t/error-node-modules-staging-eslint-e7cf6846-node-modules-eslint
66
- npm install eslint@5.0.0 --no-save
67
- npm install eslint@5.0.0 --no-save
70
+ npm install eslint@5.0.0 acorn@6.0.7 --no-save
71
+ npm install eslint@5.0.0 acorn@6.0.7 --no-save
68
72
- run :
69
73
name : Test
70
74
command : npm test
71
- - save_cache :
72
- key : v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
73
- paths :
74
- - node_modules
Original file line number Diff line number Diff line change 51
51
"devDependencies" : {
52
52
"@types/node" : " ^4.2.16" ,
53
53
"@typescript-eslint/parser" : " ^1.11.0" ,
54
+ "acorn" : " ^7.0.0" ,
54
55
"babel-eslint" : " ^10.0.2" ,
55
56
"chai" : " ^4.1.0" ,
56
57
"eslint" : " ^6.0.0" ,
You can’t perform that action at this time.
0 commit comments