Skip to content

Commit 621637c

Browse files
committed
ci: fix Next.js pipeline
Signed-off-by: Jan Pokorný <[email protected]>
1 parent 854e9f7 commit 621637c

File tree

4 files changed

+8
-28
lines changed

4 files changed

+8
-28
lines changed

apps/beeai-ui/next.config.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ const nextConfig: NextConfig = {
8080
// https://github.com/vercel/next.js/issues/64921
8181
cssChunking: false,
8282
},
83-
// Skip check & lint -- already done by Mise
84-
typescript: {
85-
ignoreBuildErrors: true,
86-
},
87-
eslint: {
88-
ignoreDuringBuilds: true,
89-
},
9083
};
9184

9285
export default nextConfig;

apps/beeai-ui/tasks.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ run = "pnpm prettier --log-level silent --check src"
1010
sources = ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx", "src/**/*.html", "src/**/*.css", "src/**/*.scss"]
1111
outputs = { auto = true }
1212

13-
["beeai-ui:check:eslint"]
13+
["beeai-ui:check:next"]
1414
depends = ["common:setup:pnpm"]
1515
dir = "{{config_root}}/apps/beeai-ui"
16-
run = "pnpm eslint src"
16+
run = "pnpm next lint"
1717
sources = ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
1818
outputs = { auto = true }
1919

@@ -43,10 +43,10 @@ run = "pnpm prettier --log-level silent --write src"
4343
sources = ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx", "src/**/*.html", "src/**/*.css", "src/**/*.scss"]
4444
outputs = { auto = true }
4545

46-
["beeai-ui:fix:eslint"]
46+
["beeai-ui:fix:next"]
4747
depends = ["common:setup:pnpm"]
4848
dir = "{{config_root}}/apps/beeai-ui"
49-
run = "pnpm eslint --fix src"
49+
run = "pnpm next lint --fix"
5050
sources = ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
5151
outputs = { auto = true }
5252

@@ -86,9 +86,6 @@ run = "pnpm next build"
8686
sources = ["*.json", "*.js", "*.mjs", "*.ts", "public/**/*", "src/**/*"]
8787
outputs = { auto = true }
8888

89-
["beeai-ui:build:check"]
90-
depends = ["beeai-ui:check:eslint", "beeai-ui:check:tsc"]
91-
9289
# schema
9390

9491
["beeai-ui:schema:generate"]

apps/beeai-web/next.config.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ const nextConfig: NextConfig = {
8080
// https://github.com/vercel/next.js/issues/64921
8181
cssChunking: false,
8282
},
83-
// Skip check & lint -- already done by Mise
84-
typescript: {
85-
ignoreBuildErrors: true,
86-
},
87-
eslint: {
88-
ignoreDuringBuilds: true,
89-
},
9083
};
9184

9285
export default nextConfig;

apps/beeai-web/tasks.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ run = "pnpm prettier --log-level silent --check src"
1010
sources = ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx", "src/**/*.html", "src/**/*.css", "src/**/*.scss"]
1111
outputs = { auto = true }
1212

13-
["beeai-web:check:eslint"]
13+
["beeai-web:check:next"]
1414
depends = ["common:setup:pnpm"]
1515
dir = "{{config_root}}/apps/beeai-web"
16-
run = "pnpm eslint src"
16+
run = "pnpm next lint"
1717
sources = ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
1818
outputs = { auto = true }
1919

@@ -43,10 +43,10 @@ run = "pnpm prettier --log-level silent --write src"
4343
sources = ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx", "src/**/*.html", "src/**/*.css", "src/**/*.scss"]
4444
outputs = { auto = true }
4545

46-
["beeai-web:fix:eslint"]
46+
["beeai-web:fix:next"]
4747
depends = ["common:setup:pnpm"]
4848
dir = "{{config_root}}/apps/beeai-web"
49-
run = "pnpm eslint --fix src"
49+
run = "pnpm next lint --fix"
5050
sources = ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
5151
outputs = { auto = true }
5252

@@ -85,6 +85,3 @@ env.NODE_OPTIONS = "--no-experimental-global-navigator"
8585
run = "pnpm next build"
8686
sources = ["*.json", "*.js", "*.mjs", "*.ts", "public/**/*", "src/**/*"]
8787
outputs = { auto = true }
88-
89-
["beeai-web:build:check"]
90-
depends = ["beeai-web:check:eslint", "beeai-web:check:tsc"]

0 commit comments

Comments
 (0)