Skip to content

Commit

Permalink
test: add type tests to circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlie committed Jun 9, 2019
1 parent fc57998 commit c6180af
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ executors:
environment:
NODE_ENV: test

commands:
commands:
attach-project:
steps:
- checkout
Expand Down Expand Up @@ -62,6 +62,14 @@ jobs:
name: Unit Tests
command: yarn test:unit --coverage && yarn coverage

test-types:
executor: node
steps:
- attach-project
- run:
name: Type Tests
command: yarn test:types

test-e2e-ssr:
executor: node
steps:
Expand Down Expand Up @@ -98,6 +106,7 @@ workflows:
- lint: { requires: [setup] }
- audit: { requires: [setup] }
- test-unit: { requires: [lint] }
- test-types: { requires: [lint] }
- test-e2e-ssr: { requires: [lint] }
- test-e2e-browser:
name: test-e2e-firefox
Expand Down Expand Up @@ -125,5 +134,5 @@ workflows:
requires: [test-e2e-ssr]
filters:
branches: { ignore: /^pull\/.*/ }


0 comments on commit c6180af

Please sign in to comment.