Whalebird-desktop-client-ma.../.circleci/config.yml

29 lines
826 B
YAML
Raw Normal View History

2018-04-12 14:36:56 +02:00
version: 2
jobs:
build:
docker:
- image: node:12.13.1-buster-slim
2018-04-12 14:36:56 +02:00
working_directory: /var/opt/app
steps:
- checkout
2018-09-26 15:01:03 +02:00
- run:
name: git
2018-09-26 15:01:03 +02:00
command: |
apt-get update
apt-get install -y git
2018-04-12 14:36:56 +02:00
- restore_cache:
name: Restoring cache - node_modules
keys:
- node_modules-{{ arch }}-node12.13.1-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
2018-04-12 14:36:56 +02:00
- run:
name: Install packages
command: npm install
- save_cache:
name: Saving cache - node_modules
key: node_modules-{{ arch }}-node12.13.1-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
2018-04-12 14:36:56 +02:00
paths:
- node_modules
- run:
name: spec
command: npm run spec