diff --git a/.github/workflows/deploy-storybook.yml b/.github/workflows/deploy-storybook.yml index 2f3141f54..5c8bf5eab 100644 --- a/.github/workflows/deploy-storybook.yml +++ b/.github/workflows/deploy-storybook.yml @@ -31,14 +31,6 @@ jobs: - name: Install Dependencies uses: ./.github/actions/install - - name: Cache turbo - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 - with: - path: .turbo - key: ${{ runner.os }}-turbo-build-storybook-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-turbo-build-storybook- - - name: Build Storybook run: | pnpm build:storybook diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index c565fd862..09d9f4ae7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -154,35 +154,6 @@ jobs: - name: Run Tests With Build run: pnpm test:requires-build --affected - build-storybook: - name: Build Storybook - runs-on: ubuntu-latest - - permissions: - contents: read - - steps: - - name: Checkout source code - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - with: - fetch-depth: 0 - filter: 'blob:none' - persist-credentials: false - - - name: Install Dependencies - uses: ./.github/actions/install - - - name: Cache turbo - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 - with: - path: .turbo - key: ${{ runner.os }}-turbo-build-storybook-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-turbo-build-storybook- - - - name: Run Build Storybook - run: pnpm build:storybook --affected - packages-versions: name: Check Packages Versions runs-on: ubuntu-latest diff --git a/package.json b/package.json index 7df6028c1..7d3ca693d 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "test:coverage": "turbo run test:coverage", "test:requires-build": "turbo run test:requires-build", "build": "turbo run build", - "build:storybook": "turbo run build:storybook", + "build:storybook": "pnpm run --filter=@drivenets/design-system build:storybook", "figma:lint": "turbo run figma:lint", "figma:publish": "pnpm run --filter @drivenets/design-system figma:publish", "changelog": "changeset", diff --git a/packages/design-system/turbo.json b/packages/design-system/turbo.json index 6133e40a1..310043904 100644 --- a/packages/design-system/turbo.json +++ b/packages/design-system/turbo.json @@ -11,10 +11,6 @@ "install:playwright": { "dependsOn": [] }, - "build:storybook": { - "outputs": ["storybook-static/**"], - "inputs": ["$TURBO_DEFAULT$", "$TURBO_ROOT$/packages/vite-plugin/**"] - }, "figma:lint": { "dependsOn": [], "inputs": ["**/*.figma.ts", "figma.config.json"]