Run headless on CI

This commit is contained in:
Alex Dima 2022-01-25 20:49:30 +01:00
parent a33a712042
commit 1b1d594671
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
2 changed files with 4 additions and 7 deletions

View file

@ -289,6 +289,9 @@ jobs:
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
run: yarn --frozen-lockfile --network-timeout 180000
- name: Download Playwright
run: yarn playwright-install
- name: Run Hygiene Checks
run: yarn gulp hygiene
@ -310,12 +313,6 @@ jobs:
- name: Editor Distro & ESM Bundle
run: yarn gulp editor-esm-bundle
- name: Install Playwright
run: npx playwright install
- name: Install OS Dependencies for Playwright
run: sudo npx playwright install-deps
- name: Editor ESM sources check
working-directory: ./test/monaco
run: yarn run esm-check

View file

@ -12,7 +12,7 @@ const playwright = require('@playwright/test');
const yaserver = require('yaserver');
const http = require('http');
const DEBUG_TESTS = true;
const DEBUG_TESTS = false;
const SRC_DIR = path.join(__dirname, '../../../out-monaco-editor-core/esm');
const DST_DIR = path.join(__dirname, './out');
const PORT = 8562;