diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 2872a2d..51dd7c6 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -20,7 +20,7 @@ jobs: with: node-version: 20 - name: Install dependencies - run: npm ci + run: yarn #👇 Adds Chromatic as a step in the workflow - name: Run Chromatic uses: chromaui/action@latest diff --git a/.storybook/main.js b/.storybook/main.js index a1681c1..fc20132 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -13,5 +13,9 @@ const config = { name: '@storybook/vue3-vite', options: {}, }, + viteFinal(config) { + config.plugins = (config.plugins ?? []).filter((plugin) => plugin && 'name' in plugin && plugin.name !== 'vite:dts'); + return config; + }, }; export default config;