diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a11d7a5..94da84c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,9 @@ jobs: - name: Format check run: npm run format:check + - name: Build shared + run: npm -w packages/shared run build + - name: Lint run: npm run lint diff --git a/package.json b/package.json index a72186a..4034711 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dev": "concurrently -n backend,frontend -c auto \"npm -w apps/backend run dev\" \"npm -w apps/frontend run dev\"", "build": "npm -w packages/shared run build && npm -w apps/backend run build && npm -w apps/frontend run build", "test": "npm --workspaces run test", - "lint": "npm --workspaces run lint", + "lint": "npm -w packages/shared run build && npm --workspaces run lint", "format": "prettier . --write", "format:check": "prettier . --check" },