Skip to content

Commit fc32bfd

Browse files
committed
hotfix: fixed build errors and added build as a part of code check action [skip release]
1 parent 11c439a commit fc32bfd

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.github/workflows/code-check.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ jobs:
2727
run: npm run prettier
2828

2929
- name: Run Unit Tests
30-
run: npm test
30+
run: npm run test
31+
32+
- name: Run Build
33+
run: npm run build

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export * from "@/components/button";
2-
export * from "@/components/input";

tsup.config.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
import { defineConfig } from "tsup";
22

33
const tsupConfig = defineConfig((options) => ({
4-
entry: ["src/index.ts", "src/global.css", "src/**/*.ts", "src/**/*.tsx"],
4+
entry: [
5+
"src/index.ts",
6+
"src/global.css",
7+
"src/**/*.ts",
8+
"src/**/*.tsx",
9+
"!src/**/*.spec.ts",
10+
"!src/**/*.spec.tsx",
11+
"!src/**/*.stories.ts",
12+
"!src/**/*.stories.tsx",
13+
],
514
dts: true,
615
clean: true,
716
sourcemap: true,

0 commit comments

Comments
 (0)