mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Add prettier check in CI
This commit is contained in:
parent
6c2ce28dc0
commit
ab787465b6
2 changed files with 4 additions and 0 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -29,6 +29,9 @@ jobs:
|
||||||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
||||||
run: npm install --prefix monaco-editor-webpack-plugin
|
run: npm install --prefix monaco-editor-webpack-plugin
|
||||||
|
|
||||||
|
- name: Check prettier
|
||||||
|
run: npm run prettier-check
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run release
|
run: npm run release
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
"build-website": "gulp build-website && npm run typedoc",
|
"build-website": "gulp build-website && npm run typedoc",
|
||||||
"typedoc": "cd monaco-editor/typedoc && \"../../node_modules/.bin/typedoc\" --options ./typedoc.json",
|
"typedoc": "cd monaco-editor/typedoc && \"../../node_modules/.bin/typedoc\" --options ./typedoc.json",
|
||||||
"prettier": "prettier --write .",
|
"prettier": "prettier --write .",
|
||||||
|
"prettier-check": "prettier --check .",
|
||||||
"pretty-quick": "pretty-quick --staged",
|
"pretty-quick": "pretty-quick --staged",
|
||||||
"gulp": "node ./node_modules/gulp/bin/gulp.js",
|
"gulp": "node ./node_modules/gulp/bin/gulp.js",
|
||||||
"postinstall": "node build/postinstall.js"
|
"postinstall": "node build/postinstall.js"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue