Skip to content

Commit

Permalink
add check command (#2081)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinn authored Sep 14, 2024
1 parent 3de258e commit 5acf73a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/garbo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
cache: yarn
- run: yarn install --immutable --immutable-cache
- run: yarn workspace garbo-lib build
- run: yarn workspace garbo run check
- run: yarn check
#- run: yarn run test TODO: Readd once we have tests

lint-all:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
],
"scripts": {
"build": "yarn workspaces foreach -ptv run build && yarn run combineFiles",
"check": " yarn workspaces foreach -pv run check",
"combineFiles": "copyfiles --up 2 \"packages/garbo/dist/**\" .; copyfiles --up 2 \"packages/garbo-relay/dist/**\" .",
"format": "yarn run prettier --write .github && yarn workspaces foreach -pv run format",
"lint": " yarn workspaces foreach -pv run lint",
Expand Down
1 change: 1 addition & 0 deletions packages/garbo-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"build": "tsc",
"format": "eslint src --fix && prettier --write .",
"check": "tsc",
"lint": "eslint src && prettier --check .",
"madge": "madge --circular . ./src/index.ts",
"pre-commit": "lint-staged",
Expand Down
1 change: 1 addition & 0 deletions packages/garbo-relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build && rimraf --glob \"dist/**/index.html\"",
"check": "tsc",
"lint": "eslint && prettier --check .",
"format": "prettier --write .",
"preview": "vite preview",
Expand Down

0 comments on commit 5acf73a

Please sign in to comment.