bump: Update node versions

This commit is contained in:
Rodrigo Fernandes 2020-05-09 12:54:11 +01:00
parent ae91dcedd0
commit 1844fed147
No known key found for this signature in database
GPG key ID: 67157D2E3D4258B4
2 changed files with 9 additions and 22 deletions

View file

@ -46,16 +46,12 @@ jobs:
yarn -v
- run:
name: Install dependencies
command: yarn
command: yarn install --ignore-engines
- save_cache:
key: yarn-cache-{{ checksum "yarn.lock" }}
paths:
- /usr/local/share/.cache/yarn
- run: yarn run validate
- store_artifacts:
path: coverage
- store_test_results:
path: coverage
- run: yarn run build:templates && yarn run build
build-latest: &latest-build
docker:
@ -90,11 +86,6 @@ jobs:
- '*'
build-node-10:
<<: *common-build
docker:
- image: node:10
build-node-11:
<<: *common-build
docker:
- image: node:11
@ -104,14 +95,14 @@ jobs:
docker:
- image: node:12
build-node-13:
build-node-14:
<<: *latest-build
docker:
- image: node:13
- image: node:14
tag_version:
docker:
- image: node:13
- image: node:14
working_directory: ~/workdir
steps:
- attach_workspace:
@ -129,7 +120,7 @@ jobs:
publish_library:
docker:
- image: node:13
- image: node:14
working_directory: ~/workdir
steps:
- attach_workspace:
@ -203,22 +194,18 @@ workflows:
- build-node-10:
requires:
- checkout-and-version
- build-node-11:
requires:
- checkout-and-version
- build-node-12:
requires:
- checkout-and-version
- build-node-13:
- build-node-14:
requires:
- checkout-and-version
- publish_approval:
type: approval
requires:
- build-node-10
- build-node-11
- build-node-12
- build-node-13
- build-node-14
- tag_version:
requires:
- publish_approval

View file

@ -32,7 +32,7 @@
"url": "https://www.github.com/rtfpessoa/diff2html/issues"
},
"engines": {
"node": ">=10.13"
"node": ">=10"
},
"scripts": {
"eslint": "eslint --ignore-path .gitignore \"**/*.{js,jsx,ts,tsx,json}\"",