mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-20 07:16:08 +08:00
Run lint tasks on circleci
This commit is contained in:
parent
22795bed77
commit
6792a870e0
21
.circleci/config.yml
Normal file
21
.circleci/config.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
version: 2
|
||||
jobs:
|
||||
test:
|
||||
docker:
|
||||
- image: circleci/node:lts
|
||||
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
|
Loading…
Reference in a new issue