mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-14 19:12:56 +00:00
Merge pull request #921 from hedgedoc/fix/yarnFormat
Package.json: Switch yarn format and format:check
This commit is contained in:
commit
f29af8e855
2 changed files with 3 additions and 3 deletions
2
.github/workflows/nest.js.yml
vendored
2
.github/workflows/nest.js.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
matrix:
|
||||
command:
|
||||
- yarn run lint
|
||||
- yarn run format:check
|
||||
- yarn run format
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 14
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
"scripts": {
|
||||
"prebuild": "rimraf dist",
|
||||
"build": "nest build",
|
||||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"start": "nest start",
|
||||
"start:dev": "nest start --watch",
|
||||
"start:debug": "nest start --debug --watch",
|
||||
|
|
Loading…
Add table
Reference in a new issue