2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-23 11:10:34 +03:00

test: add type tests to circleci

This commit is contained in:
pimlie
2019-06-09 16:07:52 +02:00
parent fc5799859b
commit c6180aff7e
+11 -2
View File
@@ -12,7 +12,7 @@ executors:
environment: environment:
NODE_ENV: test NODE_ENV: test
commands: commands:
attach-project: attach-project:
steps: steps:
- checkout - checkout
@@ -62,6 +62,14 @@ jobs:
name: Unit Tests name: Unit Tests
command: yarn test:unit --coverage && yarn coverage 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: test-e2e-ssr:
executor: node executor: node
steps: steps:
@@ -98,6 +106,7 @@ workflows:
- lint: { requires: [setup] } - lint: { requires: [setup] }
- audit: { requires: [setup] } - audit: { requires: [setup] }
- test-unit: { requires: [lint] } - test-unit: { requires: [lint] }
- test-types: { requires: [lint] }
- test-e2e-ssr: { requires: [lint] } - test-e2e-ssr: { requires: [lint] }
- test-e2e-browser: - test-e2e-browser:
name: test-e2e-firefox name: test-e2e-firefox
@@ -125,5 +134,5 @@ workflows:
requires: [test-e2e-ssr] requires: [test-e2e-ssr]
filters: filters:
branches: { ignore: /^pull\/.*/ } branches: { ignore: /^pull\/.*/ }