Mailspring/.circleci/config.yml

27 lines
686 B
YAML
Raw Normal View History

2019-03-18 00:28:01 +08:00
version: 2
jobs:
test:
docker:
2021-04-08 13:48:50 +08:00
- image: circleci/node:12.9.1-stretch
2019-03-18 00:28:01 +08:00
steps:
- checkout
- restore_cache:
name: Restore Package Cache
keys:
- npm-packages-{{ checksum "package-lock.json" }}-{{ checksum "app/package-lock.json" }}
- run:
name: Install Dependencies
command: npm install
- save_cache:
name: Save Yarn Package Cache
key: npm-packages-{{ checksum "package-lock.json" }}-{{ checksum "app/package-lock.json" }}
paths:
- node_modules
- app/node_modules
- run: npm run lint
workflows:
version: 2
test:
jobs:
- test