From 9b85817ddba50a5641a78fa0cce14610b63ebfe8 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Thu, 6 Jan 2022 10:37:51 +0000 Subject: [PATCH] feat: run vue-tsc in ci (#1295) We had this in for a while already, but never cared for the result. Might make sense to integrate in the pipeline. To make things easy from the start we could add [`failure: ignore`](https://docs.drone.io/pipeline/macstadium/syntax/steps/#failure) to the step Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1295 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- .drone.yml | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 8a7c18c029..4090e6a8f6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -98,6 +98,15 @@ steps: depends_on: - dependencies + - name: typecheck + failure: ignore + image: node:16 + pull: true + commands: + - yarn typecheck + depends_on: + - dependencies + - name: test-frontend image: cypress/browsers:node16.5.0-chrome94-ff93 pull: true diff --git a/package.json b/package.json index 0f66c2adc3..9de9050099 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "build": "vite build && workbox copyLibraries dist/", "build:modern-only": "BUILD_MODERN_ONLY=true vite build && workbox copyLibraries dist/", "build:dev": "vite build -m development --outDir dist-dev/", + "typecheck": "vue-tsc --noEmit", "lint": "eslint --ignore-pattern '*.test.*' ./src --ext .vue,.js,.ts", - "lint:markup": "vue-tsc --noEmit", "cypress:open": "cypress open", "test:unit": "vitest run", "test:frontend": "cypress run",