We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3ab96 commit d0fa2caCopy full SHA for d0fa2ca
.circleci/config.yml
@@ -25,9 +25,19 @@ jobs:
25
- image: circleci/node:latest
26
steps:
27
- checkout
28
+ # needed to add here also as both install and test are different docker instances and need to do same thing again in different instance
29
+ - run:
30
+ name: Update npm
31
+ command: 'sudo npm install -g npm@latest'
32
+ - restore_cache:
33
+ key: dependency-cache-{{ checksum "package-lock.json" }}
34
- run:
35
name: Install npm dependencies
36
command: npm install
37
+ - save_cache:
38
39
+ paths:
40
+ - node_modules
41
42
name: Test
43
command: npm test
0 commit comments