ESM: figure out the monaco-standalone ESM build story (fix #227192) (#227536)

This commit is contained in:
Benjamin Pasero
2024-09-06 18:26:40 +02:00
committed by GitHub
parent cbcf121deb
commit eed219db5f
6 changed files with 51 additions and 180 deletions

View File

@@ -64,34 +64,34 @@ jobs:
- name: Run Monaco Editor Checks
run: npm run monaco-compile-check
# - name: Editor Distro & ESM
# run: npm run gulp editor-esm
- name: Editor Distro & ESM
run: npm run gulp editor-esm
# - name: Editor ESM sources check
# working-directory: test/monaco
# run: npm run esm-check
- name: Editor ESM sources check
working-directory: ./test/monaco
run: npm run esm-check
# - name: Typings validation prep
# run: |
# mkdir typings-test
- name: Typings validation prep
run: |
mkdir typings-test
# - name: Typings validation
# working-directory: typings-test
# run: |
# npm init -yp
# ../node_modules/.bin/tsc --init
# echo "import '../out-monaco-editor-core';" > a.ts
# ../node_modules/.bin/tsc --noEmit
- name: Typings validation
working-directory: ./typings-test
run: |
npm init -yp
../node_modules/.bin/tsc --init
echo "import '../out-monaco-editor-core';" > a.ts
../node_modules/.bin/tsc --noEmit
# - name: Package Editor with Webpack
# working-directory: test/monaco
# run: npm run bundle-webpack
- name: Package Editor with Webpack
working-directory: ./test/monaco
run: npm run bundle-webpack
# - name: Compile Editor Tests
# working-directory: test/monaco
# run: npm run compile
- name: Compile Editor Tests
working-directory: ./test/monaco
run: npm run compile
# - name: Run Editor Tests
# timeout-minutes: 5
# working-directory: test/monaco
# run: npm run test
- name: Run Editor Tests
timeout-minutes: 5
working-directory: ./test/monaco
run: npm run test