homefront/website/.circleci/config.yml

34 lines
815 B
YAML
Raw Normal View History

2018-11-14 12:07:55 -05:00
version: 2
jobs:
build:
docker:
2021-06-19 20:03:29 -04:00
- image: circleci/node:12.14-browsers
2018-11-14 12:07:55 -05:00
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run:
name: Install Dependancies
command: yarn
- save_cache:
key: v1-dependencies-{{ checksum "package.json" }}
paths:
- node_modules
- functions/node_modules
- run:
name: Build
2021-06-19 19:54:15 -04:00
command: npm run build
2018-11-14 12:07:55 -05:00
- run:
name: Deploy
2021-06-19 19:54:15 -04:00
command: npm run deploy