mirror of https://github.com/sundowndev/http.git
Update config.yml
parent
dbb79bbcaf
commit
a3a0f251e2
|
@ -1,16 +1,15 @@
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
working_directory: /usr/src/app
|
|
||||||
docker:
|
docker:
|
||||||
- image: banian/node
|
- image: circleci/node
|
||||||
steps:
|
steps:
|
||||||
# Checkout repository
|
# Checkout repository
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
# Restore cache
|
# Restore cache
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: yarn-{{ checksum "yarn.lock" }}
|
key: yarn-cache-{{ checksum "yarn.lock" }}
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
- run:
|
- run:
|
||||||
|
@ -19,14 +18,19 @@ jobs:
|
||||||
|
|
||||||
# Keep cache
|
# Keep cache
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: yarn-{{ checksum "yarn.lock" }}
|
key: yarn-cache-{{ checksum "yarn.lock" }}
|
||||||
paths:
|
paths:
|
||||||
- "node_modules"
|
- "node_modules"
|
||||||
|
|
||||||
# Test
|
# Lint
|
||||||
|
- run:
|
||||||
|
name: Lint
|
||||||
|
command: yarn lint
|
||||||
|
|
||||||
|
# Tests
|
||||||
- run:
|
- run:
|
||||||
name: Tests
|
name: Tests
|
||||||
command: yarn test
|
command: yarn jest
|
||||||
|
|
||||||
# Coverage
|
# Coverage
|
||||||
- run:
|
- run:
|
||||||
|
|
Loading…
Reference in New Issue