message: Add update_npm_dependencies circle-ci job
diff: -version: 2
  +version: 2.1
  jobs:
  build_and_test:
  docker:
  @@ -28,8 +28,34 @@ jobs:
  - run:
  name: Run tests
  command: node common/scripts/install-run-rush.js test --verbose
  + update_npm_dependencies:
  + docker:
  + - image: circleci/node:10
  + steps:
  + - checkout
  + - run:
  + name: Install needed npm packages
  + command: npm install npm-check-updates @octokit/rest --no-save
  + - run:
  + name: Configure git
  + command: |
  + git config user.email "auto-npm-dep-update@shiftjs.com"
  + git config user.name "autoupdate"
  + - run:
  + name: Update npm dependencies
  + command: node common/scripts/update-npm-dependencies.js
  workflows:
  version: 2
  build_and_test:
  jobs:
  - build_and_test
  + nightly:
  + triggers:
  + - schedule:
  + cron: "0 0 * * *"
  + filters:
  + branches:
  + only:
  + - master
  + jobs:
  + - update_npm_dependencies
  