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.

39 lines
913 B

7 years ago
version: 2
docker_defaults: &docker_defaults
docker:
- image: circleci/node:9.5
jobs:
build:
<<: *docker_defaults
branches:
ignore:
- gh-pages
7 years ago
steps:
- checkout
- run:
name: Dependencies
command: SKIP_REBUILD=1 yarn
7 years ago
- run:
name: Lint
command: yarn lint
- run:
name: Prettier
command: ./node_modules/.bin/prettier -l "{src,webpack,.storybook}/**/*.js"
7 years ago
- 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