Can’t figure out what I’m doing wrong…
version: 2
jobs:
install_deps:
docker:
- image: circleci/node:11.8.0
steps:
- checkout
- run:
name: Install Yarn then pkgs
command: npm i -g yarn && yarn
build:
docker:
- image: circleci/node:11.8.0
steps:
- checkout
- run:
name: Build then Export to ./out
command: yarn deploy
test:
working_directory: '~/out'
docker:
- image: circleci/node:11.8.0
steps:
- checkout
- run:
name: Run Jest tests
command: yarn test
workflows:
version: 2
build_and_test:
jobs:
- install_deps
- build:
requires:
- install_deps
- test:
requires:
- build