Merge pull request #921 from hedgedoc/fix/yarnFormat

Package.json: Switch yarn format and format:check
This commit is contained in:
David Mehren 2021-02-16 19:57:10 +01:00 committed by GitHub
commit f29af8e855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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",