Prechádzať zdrojové kódy

Validate typings can be imported correctly in simple ts project (#1785)

Peng Lyu 5 rokov pred
rodič
commit
d7ddf03fde
1 zmenil súbory, kde vykonal 11 pridanie a 0 odobranie
  1. 11 0
      .github/workflows/ci.yml

+ 11 - 0
.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