diff options
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 184 |
1 files changed, 48 insertions, 136 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 3aac53171..807ed042c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,9 +17,9 @@ workflows: - test-lint: requires: - prep-deps-npm - - test-deps: - requires: - - prep-deps-npm + # - test-deps: + # requires: + # - prep-deps-npm - test-e2e-chrome: requires: - prep-deps-npm @@ -28,18 +28,10 @@ workflows: requires: - prep-deps-npm - prep-build - - test-e2e-beta-chrome: - requires: - - prep-deps-npm - - prep-build - - test-e2e-beta-firefox: - requires: - - prep-deps-npm - - prep-build - - test-e2e-beta-drizzle: - requires: - - prep-deps-npm - - prep-build + # - test-e2e-beta-drizzle: + # requires: + # - prep-deps-npm + # - prep-build - test-unit: requires: - prep-deps-npm @@ -47,14 +39,6 @@ workflows: requires: - prep-deps-npm - prep-build - # - test-integration-mascara-chrome: - # requires: - # - prep-deps-npm - # - prep-scss - # - test-integration-mascara-firefox: - # requires: - # - prep-deps-npm - # - prep-scss - test-integration-flat-chrome: requires: - prep-deps-npm @@ -70,11 +54,7 @@ workflows: - test-mozilla-lint - test-e2e-chrome - test-e2e-firefox - - test-e2e-beta-chrome - - test-e2e-beta-firefox - - test-e2e-beta-drizzle - # - test-integration-mascara-chrome - # - test-integration-mascara-firefox + # - test-e2e-beta-drizzle - test-integration-flat-chrome - test-integration-flat-firefox - job-screens: @@ -102,28 +82,21 @@ workflows: jobs: prep-deps-npm: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - - restore_cache: - keys: - - v1.0-dependency-cache-{{ checksum "package-lock.json" }} - run: - name: Install npm 6 + deps via npm + name: Install deps via npm command: | - sudo npm install -g npm@6 && npm install --no-save + npm ci - persist_to_workspace: root: . paths: - node_modules - - save_cache: - key: v1.0-dependency-cache-{{ checksum "package-lock.json" }} - paths: - - node_modules prep-build: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -142,7 +115,7 @@ jobs: prep-docs: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -157,7 +130,7 @@ jobs: prep-scss: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -176,7 +149,7 @@ jobs: test-lint: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -185,20 +158,33 @@ jobs: name: Test command: npm run lint - test-deps: - docker: - - image: circleci/node:8.11.3-browsers - steps: - - checkout - - attach_workspace: - at: . - - run: - name: Test - command: npx nsp check + # test-deps: + # docker: + # - image: circleci/node:8.11.3-browsers + # steps: + # - checkout + # - attach_workspace: + # at: . + # - run: + # name: Test + # command: sudo npm install -g npm@6 && npm audit + # test-e2e-beta-drizzle: + # docker: + # - image: circleci/node:8.11.3-browsers + # steps: + # - checkout + # - attach_workspace: + # at: . + # - run: + # name: test:e2e:drizzle:beta + # command: npm run test:e2e:drizzle:beta + # - store_artifacts: + # path: test-artifacts + # destination: test-artifacts test-e2e-chrome: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -212,7 +198,7 @@ jobs: test-e2e-firefox: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - run: @@ -227,53 +213,9 @@ jobs: path: test-artifacts destination: test-artifacts - test-e2e-beta-drizzle: - docker: - - image: circleci/node:8.11.3-browsers - steps: - - checkout - - attach_workspace: - at: . - - run: - name: test:e2e:drizzle:beta - command: npm run test:e2e:drizzle:beta - - store_artifacts: - path: test-artifacts - destination: test-artifacts - test-e2e-beta-chrome: - docker: - - image: circleci/node:8.11.3-browsers - steps: - - checkout - - attach_workspace: - at: . - - run: - name: test:e2e:chrome:beta - command: npm run test:e2e:chrome:beta - - store_artifacts: - path: test-artifacts - destination: test-artifacts - - test-e2e-beta-firefox: - docker: - - image: circleci/node:8.11.3-browsers - steps: - - checkout - - run: - name: Install Firefox - command: ./.circleci/scripts/firefox-install - - attach_workspace: - at: . - - run: - name: test:e2e:firefox:beta - command: npm run test:e2e:firefox:beta - - store_artifacts: - path: test-artifacts - destination: test-artifacts - job-screens: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -288,14 +230,11 @@ jobs: job-publish-prerelease: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: at: . - # - store_artifacts: - # path: dist/mascara - # destination: builds/mascara - store_artifacts: path: dist/sourcemaps destination: builds/sourcemaps @@ -311,7 +250,7 @@ jobs: job-publish-release: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -328,7 +267,7 @@ jobs: test-unit: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -338,7 +277,7 @@ jobs: command: npm run test:coverage test-mozilla-lint: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -349,7 +288,7 @@ jobs: test-integration-flat-firefox: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -365,7 +304,7 @@ jobs: environment: browsers: '["Chrome"]' docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - checkout - attach_workspace: @@ -374,36 +313,9 @@ jobs: name: test:integration:flat command: npm run test:flat - test-integration-mascara-firefox: - docker: - - image: circleci/node:8.11.3-browsers - steps: - - checkout - - attach_workspace: - at: . - - run: - name: Install Firefox - command: ./.circleci/scripts/firefox-install - - run: - name: test:integration:mascara - command: npm run test:mascara - - test-integration-mascara-chrome: - environment: - browsers: '["Chrome"]' - docker: - - image: circleci/node:8.11.3-browsers - steps: - - checkout - - attach_workspace: - at: . - - run: - name: test:integration:mascara - command: npm run test:mascara - all-tests-pass: docker: - - image: circleci/node:8.11.3-browsers + - image: circleci/node:8.15.1-browsers steps: - run: name: All Tests Passed |