mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
feat(ci): test typescript types (#4802)
This commit is contained in:
parent
9b3e7be3e7
commit
25fd1d8dfc
@ -120,7 +120,7 @@ jobs:
|
||||
command: yarn lint:app
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Phase 3: Unit and E2E tests
|
||||
# Phase 3: Unit, E2E and types tests
|
||||
# --------------------------------------------------------------------------
|
||||
test-unit:
|
||||
<<: *defaults
|
||||
@ -144,6 +144,18 @@ jobs:
|
||||
name: E2E Tests
|
||||
command: yarn test:e2e && yarn coverage
|
||||
|
||||
test-types:
|
||||
<<: *defaults
|
||||
docker:
|
||||
- image: circleci/node:latest-browsers
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: ~/project
|
||||
- run:
|
||||
name: Types Tests
|
||||
command: yarn test:types
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Phase 4: Release (dev branch only)
|
||||
# --------------------------------------------------------------------------
|
||||
@ -170,8 +182,9 @@ workflows:
|
||||
- lint-app: { requires: [build] }
|
||||
- test-unit: { requires: [build] }
|
||||
- test-e2e: { requires: [build] }
|
||||
- test-types: { requires: [build] }
|
||||
- release-commit:
|
||||
requires: [build, lint, lint-app, audit, test-unit, test-e2e]
|
||||
requires: [build, lint, lint-app, audit, test-unit, test-e2e, test-types]
|
||||
filters:
|
||||
<<: *release_branches
|
||||
|
||||
@ -185,8 +198,9 @@ workflows:
|
||||
- lint-app: { requires: [build] }
|
||||
- test-unit: { requires: [build] }
|
||||
- test-e2e: { requires: [build] }
|
||||
- test-types: { requires: [build] }
|
||||
- release-nightly:
|
||||
requires: [build, lint, lint-app, audit, test-unit, test-e2e]
|
||||
requires: [build, lint, lint-app, audit, test-unit, test-e2e, test-types]
|
||||
triggers:
|
||||
- schedule:
|
||||
cron: "0 0 * * *"
|
||||
|
Loading…
Reference in New Issue
Block a user