Update node version to 12.13.1 in CircleCI

This commit is contained in:
AkiraFukushima 2019-12-11 22:59:20 +09:00
parent ee8abc0463
commit a060e1d787
1 changed files with 3 additions and 3 deletions

View File

@ -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: