mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 10:49:02 +00:00
Add lint check to CI
This commit is contained in:
parent
e06b0e384c
commit
685b977d90
@ -4,13 +4,12 @@
|
|||||||
jobs:
|
jobs:
|
||||||
test-job:
|
test-job:
|
||||||
docker:
|
docker:
|
||||||
- image: 'circleci/node:lts'
|
- image: "circleci/node:lts"
|
||||||
|
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
# Download and cache dependencies
|
# Download and cache dependencies
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
@ -27,6 +26,9 @@ jobs:
|
|||||||
- server/node_modules
|
- server/node_modules
|
||||||
key: dependencies-{{ checksum "yarn.lock" }}
|
key: dependencies-{{ checksum "yarn.lock" }}
|
||||||
|
|
||||||
|
- run:
|
||||||
|
command: yarn lint
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
command: yarn test
|
command: yarn test
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user