Merge pull request #3096 from h3poteto/update/node/16
Update node version to 16.13 in CI
This commit is contained in:
commit
77e36d6c44
|
@ -2,7 +2,7 @@ version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: node:14.18.1-buster-slim
|
- image: node:16.13.1-buster-slim
|
||||||
working_directory: /var/opt/app
|
working_directory: /var/opt/app
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
@ -14,13 +14,13 @@ jobs:
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
name: Restoring cache - node_modules
|
name: Restoring cache - node_modules
|
||||||
keys:
|
keys:
|
||||||
- node_modules-{{ arch }}-node14.15.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
|
- node_modules-{{ arch }}-node16.13.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
|
||||||
- run:
|
- run:
|
||||||
name: Install packages
|
name: Install packages
|
||||||
command: yarn install
|
command: yarn install
|
||||||
- save_cache:
|
- save_cache:
|
||||||
name: Saving cache - node_modules
|
name: Saving cache - node_modules
|
||||||
key: node_modules-{{ arch }}-node14.15.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
|
key: node_modules-{{ arch }}-node16.13.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
|
||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
- run:
|
- run:
|
||||||
|
|
|
@ -94,7 +94,7 @@ We'd love you to contribute to Whalebird.
|
||||||
|
|
||||||
### Minimum requirements for development
|
### Minimum requirements for development
|
||||||
|
|
||||||
* Node.js greater than or equal version 8.9.0 (12.x is recommended)
|
* Node.js greater than or equal version 15.0.0 (16.x is recommended)
|
||||||
* npm or yarn
|
* npm or yarn
|
||||||
|
|
||||||
### Getting started
|
### Getting started
|
||||||
|
|
Loading…
Reference in New Issue