tridactyl/.circleci/config.yml

43 lines
879 B
YAML
Raw Permalink Normal View History

2019-05-15 19:58:06 +02:00
version: 2.1
commands:
commoncmd:
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
- run: yarn install --frozen-lockfile
2019-05-15 19:58:06 +02:00
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
jobs:
lint:
docker:
- image: circleci/node:latest
steps:
- run: sudo apt update
- run: sudo apt install -qq shellcheck
2019-05-15 19:58:06 +02:00
- commoncmd
- run: bash -c './ci/lint.sh'
2019-05-15 19:58:06 +02:00
unit:
docker:
- image: circleci/node:latest
steps:
- commoncmd
- run: bash -c './ci/unit.sh'
2020-02-19 11:32:30 +00:00
mozilla:
docker:
- image: circleci/node:latest
steps:
- commoncmd
- run: bash -c 'ci/mozilla.sh'
2020-06-04 17:35:46 +01:00
workflows:
version: 2
build_test_lint:
jobs:
- lint
- mozilla
- unit