mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Download Playwright when node_modules are restored from cache
This commit is contained in:
parent
a21839d00d
commit
f84185f497
2 changed files with 18 additions and 13 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -29,6 +29,10 @@ jobs:
|
|||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
||||
run: npm install --prefix webpack-plugin
|
||||
|
||||
- name: Download Playwright
|
||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit == 'true' }}
|
||||
run: npm run playwright-install
|
||||
|
||||
- name: Check prettier
|
||||
run: npm run prettier-check
|
||||
|
||||
|
|
|
|||
27
package.json
27
package.json
|
|
@ -6,21 +6,22 @@
|
|||
"author": "Microsoft Corporation",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"simpleserver": "gulp simpleserver",
|
||||
"import-typescript": "node ./build/importTypescript",
|
||||
"watch": "tsc -w -p ./src",
|
||||
"test": "node ./test/unit/all.js",
|
||||
"smoketest": "node ./test/smoke/runner.js",
|
||||
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
|
||||
"release": "node ./build/build && gulp release",
|
||||
"website": "gulp build-website && npm run typedoc && gulp prepare-website-branch",
|
||||
"build-website": "gulp build-website && npm run typedoc",
|
||||
"typedoc": "cd monaco-editor/typedoc && \"../../node_modules/.bin/typedoc\" --options ./typedoc.json",
|
||||
"prettier": "prettier --write .",
|
||||
"prettier-check": "prettier --check .",
|
||||
"pretty-quick": "pretty-quick --staged",
|
||||
"gulp": "node ./node_modules/gulp/bin/gulp.js",
|
||||
"postinstall": "node build/postinstall.js"
|
||||
"import-typescript": "node ./build/importTypescript.js",
|
||||
"playwright-install": "node ./node_modules/playwright/install.js",
|
||||
"postinstall": "node build/postinstall.js",
|
||||
"prettier-check": "prettier --check .",
|
||||
"prettier": "prettier --write .",
|
||||
"pretty-quick": "pretty-quick --staged",
|
||||
"release": "node ./build/build.js && gulp release",
|
||||
"simpleserver": "gulp simpleserver",
|
||||
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
|
||||
"smoketest": "node ./test/smoke/runner.js",
|
||||
"test": "node ./test/unit/all.js",
|
||||
"typedoc": "cd monaco-editor/typedoc && \"../../node_modules/.bin/typedoc\" --options ./typedoc.json",
|
||||
"watch": "tsc -w -p ./src",
|
||||
"website": "gulp build-website && npm run typedoc && gulp prepare-website-branch"
|
||||
},
|
||||
"typings": "./esm/vs/editor/editor.api.d.ts",
|
||||
"module": "./esm/vs/editor/editor.main.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue