Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmumm committed Nov 9, 2024
1 parent 1e49a53 commit 23bf890
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/storybook-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 23bf890

Please sign in to comment.