scratch-www/.circleci/config.yml

39 lines
820 B
YAML
Raw Normal View History

2020-10-27 14:10:50 -04:00
version: 2.1
2020-10-29 10:52:45 -04:00
aliases:
- &defaults
docker:
- image: circleci/node:12-browsers
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD
working_directory: ~/repo
2020-10-30 17:18:40 -04:00
- &save_npm_cache
save_cache:
paths:
- node_modules
keys:
v1-npm-{{ checksum "package-lock.json" }}
- restore_npm_cache
restore_cache:
keys:
- v1-npm-{{ checksum "package-lock.json" }}
- v1-npm-
2020-10-29 10:52:45 -04:00
jobs:
setup:
<<: *defaults
steps:
- checkout
- run: |
2020-10-29 11:43:37 -04:00
echo "Setup step is happening here"
npm --production=false ci
2020-10-29 10:52:45 -04:00
2020-10-27 14:10:50 -04:00
workflows:
2020-10-29 10:52:45 -04:00
build-test-deploy:
2020-10-27 14:10:50 -04:00
jobs:
2020-10-29 10:52:45 -04:00
- setup:
filters:
branches:
only:
- circleci-project-setup # remove this before releasing