mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 09:20:10 +01:00
Validate typings can be imported correctly in simple ts project (#1785)
This commit is contained in:
parent
45f731f75a
commit
d7ddf03fde
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -23,6 +23,17 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
yarn
|
yarn
|
||||||
yarn gulp editor-distro
|
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
|
- name: NPM Install
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Webpack Bundle
|
- name: Webpack Bundle
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue