Skip to content

Instantly share code, notes, and snippets.

@krystofbe
Created July 18, 2019 21:41
Show Gist options
  • Save krystofbe/5f0d2009a6b0b506923a35ced07f5043 to your computer and use it in GitHub Desktop.
Save krystofbe/5f0d2009a6b0b506923a35ced07f5043 to your computer and use it in GitHub Desktop.
version: 2
jobs:
build:
docker:
- image: circleci/node:10.16.0
working_directory: ~/app
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-
- run:
name: Workaround for GoogleChrome/puppeteer#290
command: "sh .circleci/setup_puppeteer.sh"
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run: yarn test:integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment