From d7ddf03fded068693913113c747ab500e28d834f Mon Sep 17 00:00:00 2001 From: Peng Lyu Date: Mon, 27 Jan 2020 11:30:09 -0800 Subject: [PATCH] Validate typings can be imported correctly in simple ts project (#1785) --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fb7d1b6..01cdec45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,17 @@ jobs: run: | yarn yarn gulp editor-distro + - name: Typings validation prep + run: | + mkdir typings-test + - name: Typings validation + working-directory: ./typings-test + run: | + yarn init -yp + yarn add typescript + yarn tsc --init + echo "import '../vscode/out-monaco-editor-core';" > a.ts + yarn tsc --noEmit - name: NPM Install run: npm install - name: Webpack Bundle