30 lines
585 B
YAML
30 lines
585 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: vuejs/ci
|
|
|
|
working_directory: ~/repo
|
|
|
|
steps:
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
keys:
|
|
- v1-dependencies-{{ checksum "yarn.lock" }}
|
|
- v1-dependencies-
|
|
|
|
- run:
|
|
name: Installing Dependencies
|
|
command: yarn --frozen-lockfile
|
|
|
|
- save_cache:
|
|
paths:
|
|
- node_modules
|
|
- ~/.cache/yarn
|
|
key: v1-dependencies-{{ checksum "yarn.lock" }}
|
|
|
|
- run:
|
|
name: Running Tests
|
|
command: yarn test --ci --runInBand
|