Skip to content

Commit

Permalink
feat(cicd): add test analysis on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Feb 7, 2025
1 parent d0b53d2 commit 123f748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
- name: Npm - Run unit tests
shell: bash
working-directory: ui
run: npm run test:unit
run: npm run test:cicd

# Build to send bundle stats to codecov
- name: Npm - Run build
Expand Down
3 changes: 2 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
"dev": "vite --host",
"build": "vite build --emptyOutDir",
"preview": "vite preview",
"test:unit": "vitest run --coverage",
"test:unit": "vitest run",
"test:lint": "eslint",
"test:cicd": "vitest run --coverage --reporter=junit --outputFile=test-report.junit.xml",
"translations:check": "node ./src/translations/check.js",
"lint": "eslint --fix",
"storybook": "storybook dev -p 6006",
Expand Down

0 comments on commit 123f748

Please sign in to comment.