|
@@ -5,53 +5,46 @@ references:
|
|
- checkout
|
|
- checkout
|
|
- restore_cache:
|
|
- restore_cache:
|
|
keys:
|
|
keys:
|
|
- - v2-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ arch }}-{{ checksum "package.json" }}
|
|
|
|
|
|
+ - v3-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ arch }}-{{ checksum "package.json" }}
|
|
- run: npm install
|
|
- run: npm install
|
|
- run: npm run build
|
|
- run: npm run build
|
|
- run: npm run ${BUILDTARGET}
|
|
- run: npm run ${BUILDTARGET}
|
|
- run: npm run ${TESTTARGET}
|
|
- run: npm run ${TESTTARGET}
|
|
- save_cache:
|
|
- save_cache:
|
|
- key: v2-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ arch }}-{{ checksum "package.json" }}
|
|
|
|
|
|
+ key: v3-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ arch }}-{{ checksum "package.json" }}
|
|
paths:
|
|
paths:
|
|
- node_modules
|
|
- node_modules
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
- unittest-node8:
|
|
|
|
|
|
+ unittest:
|
|
docker:
|
|
docker:
|
|
- - image: circleci/node:8-browsers
|
|
|
|
- steps: *test-steps
|
|
|
|
- environment:
|
|
|
|
- BUILDTARGET: build:unittests
|
|
|
|
- TESTTARGET: test:unit
|
|
|
|
- unittest-node10:
|
|
|
|
- docker:
|
|
|
|
- - image: circleci/node:10-browsers
|
|
|
|
|
|
+ - image: circleci/node:12-browsers
|
|
steps: *test-steps
|
|
steps: *test-steps
|
|
environment:
|
|
environment:
|
|
BUILDTARGET: build:unittests
|
|
BUILDTARGET: build:unittests
|
|
TESTTARGET: test:unit
|
|
TESTTARGET: test:unit
|
|
uitest-firefox:
|
|
uitest-firefox:
|
|
docker:
|
|
docker:
|
|
- - image: circleci/node:10-browsers
|
|
|
|
|
|
+ - image: circleci/node:12-browsers
|
|
steps: *test-steps
|
|
steps: *test-steps
|
|
environment:
|
|
environment:
|
|
BUILDTARGET: build:uitests
|
|
BUILDTARGET: build:uitests
|
|
TESTTARGET: test:ui firefox
|
|
TESTTARGET: test:ui firefox
|
|
uitest-chrome:
|
|
uitest-chrome:
|
|
docker:
|
|
docker:
|
|
- - image: circleci/node:10-browsers
|
|
|
|
|
|
+ - image: circleci/node:12-browsers
|
|
steps: *test-steps
|
|
steps: *test-steps
|
|
environment:
|
|
environment:
|
|
BUILDTARGET: build:uitests
|
|
BUILDTARGET: build:uitests
|
|
TESTTARGET: test:ui chrome
|
|
TESTTARGET: test:ui chrome
|
|
lint:
|
|
lint:
|
|
docker:
|
|
docker:
|
|
- - image: circleci/node:8-browsers
|
|
|
|
|
|
+ - image: circleci/node:12-browsers
|
|
steps:
|
|
steps:
|
|
- checkout
|
|
- checkout
|
|
- restore_cache:
|
|
- restore_cache:
|
|
keys:
|
|
keys:
|
|
- - v2-dependencies-test-node8-{{ arch }}-{{ checksum "package.json" }}
|
|
|
|
|
|
+ - v3-dependencies-test-node12-{{ arch }}-{{ checksum "package.json" }}
|
|
- run: npm install
|
|
- run: npm install
|
|
- run: npm run lint
|
|
- run: npm run lint
|
|
docker-build:
|
|
docker-build:
|
|
@@ -104,8 +97,7 @@ workflows:
|
|
version: 2
|
|
version: 2
|
|
build:
|
|
build:
|
|
jobs:
|
|
jobs:
|
|
- - unittest-node8
|
|
|
|
- - unittest-node10
|
|
|
|
|
|
+ - unittest
|
|
- uitest-firefox
|
|
- uitest-firefox
|
|
- uitest-chrome
|
|
- uitest-chrome
|
|
- lint
|
|
- lint
|