2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-25 01:50:34 +03:00
Files
vue-meta/.circleci/config.yml
T
2019-03-12 10:03:46 +01:00

39 lines
745 B
YAML
Executable File

version: 2
jobs:
build:
docker:
- image: circleci/node
steps:
# Checkout repository
- checkout
# Restore cache
- restore_cache:
key: yarn-{{ checksum "yarn.lock" }}
# Install dependencies
- run:
name: Install Dependencies
command: NODE_ENV=dev yarn
# Keep cache
- save_cache:
key: yarn-{{ checksum "yarn.lock" }}
paths:
- "node_modules"
# Lint
- run:
name: Lint
command: yarn lint
# Test
- run:
name: Unit Tests
command: yarn test:unit --coverage && yarn coverage
# Test
- run:
name: E2E Tests
command: yarn test:e2e