You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
913 B

version: 2
docker_defaults: &docker_defaults
docker:
- image: circleci/node:9.5
jobs:
build:
<<: *docker_defaults
branches:
ignore:
- gh-pages
steps:
- checkout
- run:
name: Dependencies
command: SKIP_REBUILD=1 yarn
- run:
name: Lint
command: yarn lint
- run:
name: Prettier
command: ./node_modules/.bin/prettier -l "{src,webpack,.storybook}/**/*.js"
- run:
name: Flow
command: yarn flow --quiet
# - run:
# name: Test
# command: yarn test
# - run:
# name: Build
# command: yarn dist:dir
# - run:
# name: Generate build stats
# command: "du -h dist | sort -h > /tmp/build-stats.txt"
# - store_artifacts:
# path: /tmp/build-stats.txt
# destination: build-stats.txt