40fef06503
* Renamed bridge-ui to ui, removed submodule * Re-added submodules. Pointing at 2.2.0 * Updated workspace name. * Removed package-lock.json. * Updated ui contracts to 2.3.0-rc0, installed node modules. * Added linting to ui * Integrated UI lint, test and build into CI. * Added readme for merging. * Consistent eslint module * Included plugins in dev dependencies. * Changed eslint version. * Add yarn.lock * Update deprecated node api. * Remove travis badge and config in ui * Update link to oracle in ui dependencies. * Remove duplicated gitter. * Remove unimplemented coverage and dependencies badges. * Update links in step 5 and 6 in UI * Cosmetic.
52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/node:10.15
|
|
steps:
|
|
- checkout
|
|
- run: git submodule update --init
|
|
- run: yarn
|
|
- run: yarn run build
|
|
lint:
|
|
docker:
|
|
- image: circleci/node:10.15
|
|
steps:
|
|
- checkout
|
|
- run: git submodule update --init
|
|
- run: yarn
|
|
- run: yarn run lint
|
|
ansible-lint:
|
|
docker:
|
|
- image: particlekit/ansible-lint
|
|
steps:
|
|
- checkout
|
|
- run: ./deployment/lint.sh
|
|
test:
|
|
docker:
|
|
- image: circleci/node:10.15
|
|
environment:
|
|
HOME_RPC_URL: http://example.com
|
|
FOREIGN_RPC_URL: http://example.com
|
|
steps:
|
|
- checkout
|
|
- run: git submodule update --init
|
|
- run: yarn
|
|
- run: yarn run test
|
|
oracle-e2e:
|
|
docker:
|
|
- image: circleci/node:10.15
|
|
steps:
|
|
- checkout
|
|
- setup_remote_docker
|
|
- run: yarn run oracle-e2e
|
|
|
|
workflows:
|
|
version: 2
|
|
tokenbridge:
|
|
jobs:
|
|
- lint
|
|
- test
|
|
- ansible-lint
|
|
- oracle-e2e
|