Update node version to 12.13.1 in CircleCI
This commit is contained in:
parent
ee8abc0463
commit
a060e1d787
|
@ -2,7 +2,7 @@ version: 2
|
|||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: node:10.16.0-stretch-slim
|
||||
- image: node:12.13.1-buster-slim
|
||||
working_directory: /var/opt/app
|
||||
steps:
|
||||
- checkout
|
||||
|
@ -14,13 +14,13 @@ jobs:
|
|||
- restore_cache:
|
||||
name: Restoring cache - node_modules
|
||||
keys:
|
||||
- node_modules-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
|
||||
- node_modules-{{ arch }}-node12.13.1-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
|
||||
- run:
|
||||
name: Install packages
|
||||
command: npm install
|
||||
- save_cache:
|
||||
name: Saving cache - node_modules
|
||||
key: node_modules-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
|
||||
key: node_modules-{{ arch }}-node12.13.1-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
|
||||
paths:
|
||||
- node_modules
|
||||
- run:
|
||||
|
|
Loading…
Reference in New Issue