message: chore: initial pipeline
diff: @@ -26,18 +26,18 @@ references:
  only: /^\d+\.\d+\.\d(.*)/ # semver
  jobs:
  - build:
  + checkout:
  <<: *base_env
  steps:
  - checkout
  # Download and cache dependencies
  - # - restore_cache:
  - # keys:
  - # - v1-dependencies-{{ checksum "package.json" }}
  - # # fallback to using the latest cache if no exact match is found
  - # - v1-dependencies-
  + - restore_cache:
  + keys:
  + - v1-dependencies-{{ checksum "package.json" }}
  + # fallback to using the latest cache if no exact match is found
  + - v1-dependencies-
  - run: yarn install
  @@ -46,16 +46,55 @@ jobs:
  - node_modules
  key: v1-dependencies-{{ checksum "package.json" }}
  - # run tests!
  - - run: npx bazel test $(npx bazel query //...)
  + # persist to workspace to use in downstream jobs
  + - persist_to_workspace:
  + root: *workspace_root
  + paths:
  + - .
  +
  + build-lighthouse:
  + <<: *base_env
  + steps:
  + - <<: *attach_root
  + - run:
  + name: Run tests
  + command: npx bazel test //lighthouse:unit_test --test_output=all
  +
  + build-peer:
  + <<: *base_env
  + steps:
  + - <<: *attach_root
  + - run:
  + name: Run tests
  + command: npx bazel test //peer:config_test --test_output=all
  +
  + build-content:
  + <<: *base_env
  + steps:
  + - <<: *attach_root
  + - run:
  + name: Run tests
  + command: npx bazel test //content:unit_test --test_output=all
  workflows:
  version: 2
  build-deploy:
  -
  jobs:
  - - build:
  + - checkout:
  + <<: *all_branches_and_tags
  filters:
  branches:
  only: chore/pipeline
  + - build-peer:
  + <<: *all_branches_and_tags
  + requires:
  + - checkout
  + - build-lighthouse:
  + <<: *all_branches_and_tags
  + requires:
  + - checkout
  + - build-content:
  + <<: *all_branches_and_tags
  + requires:
  + - checkout
  