A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
version: 2
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build_and_test:
|
|
|
|
jobs:
|
|
|
|
- build
|
|
|
|
- test:
|
|
|
|
requires:
|
|
|
|
- build
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:8-browsers
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: Update npm
|
|
|
|
command: 'sudo npm install -g npm@latest'
|
|
|
|
- restore_cache:
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }}
|
|
|
|
- run:
|
|
|
|
name: Install npm
|
|
|
|
command: npm install
|
|
|
|
- save_cache:
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }}
|
|
|
|
paths:
|
|
|
|
- node_modules
|
|
|
|
test:
|
|
|
|
docker:
|
|
|
|
- image: circleci/node:8-browsers
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }}
|
|
|
|
- run:
|
|
|
|
name: Test
|
|
|
|
command: npm test
|