Skip to content

Commit

Permalink
ci: rename ci workflow -> lint-check
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger committed Jan 28, 2024
1 parent 4d732e5 commit 565f0b6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Lint check

on: push

Expand All @@ -18,4 +18,4 @@ jobs:
cache: pnpm

- run: pnpm i
- run: pnpm run check:prettier
- run: pnpm run lint
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
],
"scripts": {
"build": "turbo run build",
"check:prettier": "prettier --check .",
"dev": "turbo run dev --continue",
"format": "prettier --write \"**/*.{ts,tsx,md,html,json,js,scss}\" && turbo run format"
"format": "prettier --write \"**/*.{ts,tsx,md,html,json,js,scss}\" && turbo run format",
"lint": "prettier --check \"**/*.{ts,tsx,md,html,json,js,scss}\" && turbo run lint"
},
"prettier": "@glzr/style-guide/prettier",
"dependencies": {},
Expand Down
4 changes: 2 additions & 2 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"build": "npm run tauri build",
"dev": "npm run -s monitors -- --print0 | xargs -0 -P 99 -I % sh -c 'npm run tauri dev -- -- -- open window/bar --args %'",
"format": "cargo fmt",
"monitors": "cargo run --no-default-features --quiet -- monitors",
"tauri": "tauri"
"lint": "cargo fmt --check",
"monitors": "cargo run --no-default-features --quiet -- monitors"
},
"dependencies": {},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"format": {},
"lint": {},
"dev": {
"cache": false
}
Expand Down

0 comments on commit 565f0b6

Please sign in to comment.