UNPKG

apostrophe

Version:

The Apostrophe Content Management System.

72 lines 1.81 kB
version: 2 jobs: build-node12: docker: - image: circleci/node:12-browsers - image: mongo:3.6.11 steps: - checkout - run: name: update-npm command: 'sudo npm install -g npm@6' - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: install-npm-wee command: npm install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: test command: npm test build-node10: docker: - image: circleci/node:10-browsers - image: mongo:3.6.11 steps: - checkout - run: name: update-npm command: 'sudo npm install -g npm@6' - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: install-npm-wee command: npm install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: test command: npm test build-node8: docker: - image: circleci/node:8-browsers - image: mongo:3.6.11 steps: - checkout - run: name: update-npm command: 'sudo npm install -g npm@6' - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: name: install-npm-wee command: npm install - save_cache: key: dependency-cache-{{ checksum "package.json" }} paths: - ./node_modules - run: name: test command: npm test workflows: version: 2 build: jobs: - build-node12 - build-node10 - build-node8