diff --git a/.github/workflows/storybook-tests.yml b/.github/workflows/storybook-tests.yml index c36eede..f2fecec 100644 --- a/.github/workflows/storybook-tests.yml +++ b/.github/workflows/storybook-tests.yml @@ -14,7 +14,9 @@ jobs: cache: 'npm' - name: Install dependencies - run: npm ci + run: | + npm cache clean --force + npm ci - name: Install Playwright browsers run: npx playwright install --with-deps @@ -28,11 +30,9 @@ jobs: "npx http-server storybook-static --port 6006 --silent" \ "npx wait-on tcp:127.0.0.1:6006 && npm run test-storybook" - # Optional: Add test coverage reporting - name: Run Storybook tests with coverage run: npm run test-storybook -- --coverage - # Optional: Upload coverage reports - name: Upload coverage reports uses: actions/upload-artifact@v4 with: