Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,30 @@ jobs:
- name: Install test dependencies
run: cd tests && npm ci

- name: Run unit tests
run: npm run test:unit
- name: Run unit tests with coverage
run: npm run test:unit:coverage

- name: Install Playwright Browsers
run: cd tests && npx playwright install --with-deps chromium

- name: Run e2e tests
run: npm run test:e2e
- name: Run e2e tests with coverage
id: e2e
run: npm run test:e2e:coverage

- name: Upload Playwright Report
- name: Upload e2e failure artifacts
uses: actions/upload-artifact@v4
if: ${{ !cancelled() && steps.e2e.outcome == 'failure' }}
with:
name: e2e-failure-artifacts
path: tests/.vitest-attachments/
if-no-files-found: ignore
retention-days: 14

- name: Upload coverage reports
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: tests/e2e/playwright-report/
name: coverage-reports
path: coverage/
retention-days: 30

6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ node_modules
.vscode
*.tgz
.DS_Store
tests/e2e/playwright-report
tests/e2e/test-results
tests/.vitest-attachments
tests/e2e/specs/__screenshots__
/coverage/
/temp/
8 changes: 7 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import globals from 'globals';
export default [
// Global ignores (replaces .eslintignore)
{
ignores: ['node_modules/**', 'dist/**', 'build/**', 'demo/**']
ignores: [
'node_modules/**',
'dist/**',
'build/**',
'demo/**',
'coverage/**'
]
},

// Base configuration for TypeScript files
Expand Down
Loading
Loading