fix circleci

This commit is contained in:
Pooya Parsa 2018-03-19 10:48:57 +03:30
parent 731ce56067
commit 06756f5216

View File

@ -29,24 +29,29 @@ jobs:
lint: lint:
<<: *defaults <<: *defaults
- run: steps:
- run:
name: ESLint name: ESLint
command: yarn lint command: yarn lint
build: build:
<<: *defaults <<: *defaults
- run: steps:
name: Build Fixtures - run:
command: yarn build-fixtures name: Build Fixtures
command: yarn build-fixtures
test: test:
<<: *defaults <<: *defaults
- run: steps:
name: Test - run:
command: yarn jest test/ name: Test
command: yarn jest test/
release: release:
- run: <<: *defaults
steps:
- run:
name: release name: release
command: | command: |
if [ "${CIRCLE_BRANCH}" == "dev" ]; then if [ "${CIRCLE_BRANCH}" == "dev" ]; then