bump: Update node versions
This commit is contained in:
parent
ae91dcedd0
commit
1844fed147
2 changed files with 9 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}\"",
|
||||
|
|
|
|||
Loading…
Reference in a new issue