circleci config don’t restore npm cache before npm ci. restart cron.

This commit is contained in:
BryceLTaylor 2020-11-20 11:47:46 -05:00
parent 64d430f1fd
commit eabf2667d3

View file

@ -45,7 +45,7 @@ aliases:
steps: steps:
- *restore_git_cache - *restore_git_cache
- checkout - checkout
- *restore_npm_cache # - *restore_npm_cache
- run: - run:
name: "Run npm test to build" name: "Run npm test to build"
command: | command: |
@ -134,3 +134,19 @@ workflows:
- develop - develop
- /^hotfix\/.*/ - /^hotfix\/.*/
- /^release\/.*/ - /^release\/.*/
test-build-cron:
triggers:
- schedule: # every 15 minutes
cron: "0,15,30,45 * * * *"
filters:
branches:
only: circleci-project-setup
jobs:
- build-staging:
context:
- scratch-www-all
- scratch-www-staging
filters:
branches:
only:
- circleci-project-setup # remove this before releasing