1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-11 08:30:07 +01:00
Whalebird-desktop-client-ma.../.circleci/config.yml
2018-12-26 20:29:05 +09:00

29 lines
800 B
YAML

version: 2
jobs:
build:
docker:
- image: node:10.13.0-slim
working_directory: /var/opt/app
steps:
- checkout
- run:
name: git
command: |
apt-get update
apt-get install -y git
- restore_cache:
name: Restoring cache - node_modules
keys:
- node_modules-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
- run:
name: Install packages
command: npm install
- save_cache:
name: Saving cache - node_modules
key: node_modules-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
paths:
- node_modules
- run:
name: spec
command: npm run spec:unit