diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc876db..a05c4b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,5 +33,5 @@ jobs: - name: Install dependencies run: pnpm install - - name: Build - run: pnpm build + - name: Build and Lint + run: pnpm run ci diff --git a/package.json b/package.json index 259183c..d98fb35 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "version": "1.0.0", "description": "", "scripts": { - "build": "turbo run build --filter=./packages/\\*", + "build": "turbo build --filter=./packages/\\*", + "lint": "turbo lint", + "ci": "turbo build lint --filter=./packages/\\*", "release": "changeset publish", "version": "changeset version" }, diff --git a/turbo.json b/turbo.json index c4f8864..9ec678e 100644 --- a/turbo.json +++ b/turbo.json @@ -10,10 +10,6 @@ "!.next/cache/**" ] }, - "deploy": { - "dependsOn": [ - "^build" - ] - } + "lint": {} } } \ No newline at end of file