Skip to content

Commit 3daaeef

Browse files
Use CircleCI convenience image and sudo
sudo install latest npm
1 parent 336302b commit 3daaeef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ jobs:
33
build:
44
working_directory: ~/mern-starter
55
docker:
6-
- image: node:7.9.0
6+
- image: circleci/node:4.8.2
77
- image: mongo:3.4.4
88
steps:
99
- checkout
1010
- run:
1111
name: update-npm
12-
command: 'npm install -g npm@latest'
12+
command: 'sudo npm install -g npm@latest'
1313
- restore_cache:
1414
key: dependency-cache-{{ checksum "package.json" }}
1515
- run:

0 commit comments

Comments
 (0)