Add `prettier` check in CI
This commit is contained in:
Родитель
6c2ce28dc0
Коммит
ab787465b6
|
@ -29,6 +29,9 @@ jobs:
|
|||
if: ${{ steps.cacheNodeModules.outputs.cache-hit != 'true' }}
|
||||
run: npm install --prefix monaco-editor-webpack-plugin
|
||||
|
||||
- name: Check prettier
|
||||
run: npm run prettier-check
|
||||
|
||||
- name: Build
|
||||
run: npm run release
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче