diff --git a/.github/workflows/release-and-publish.yaml b/.github/workflows/release-and-publish.yaml index cb426c5..c47fe3f 100644 --- a/.github/workflows/release-and-publish.yaml +++ b/.github/workflows/release-and-publish.yaml @@ -25,7 +25,7 @@ jobs: with: node-version: 20 - run: npm ci - - run: npm run build + - run: npm run package release: needs: build diff --git a/package.json b/package.json index e51bcbe..293501e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "test:unit": "jest ./src/components/**/*.test.tsx --coverage", "storybook": "storybook dev --port 6006", "build:storybook": "storybook build", - "build": "tsc -p tsconfig.dist.json", + "build": "storybook build", "preview": "npx http-server ./storybook-static", "package": "tsc -p tsconfig.dist.json" },