version: 2 jobs: build: branches: ignore: - gh-pages working_directory: ~/polkadot-js docker: - image: circleci/node:10 steps: - checkout - restore_cache: key: dependency-cache-{{ checksum "yarn.lock" }} - run: name: install-deps command: yarn install --frozen-lockfile - save_cache: key: dependency-cache-{{ checksum "yarn.lock" }} paths: - ./node_modules - ~/.cache/yarn - run: name: build command: yarn polkadot-dev-circleci-build