Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
chiaryan committed Nov 10, 2024
1 parent 2f97a34 commit c784496
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Run tests
run: |
cd ./apps/frontend
pnpm test -- __tests__/unit-tests
pnpm unit-test
browser-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -259,6 +259,11 @@ jobs:
with:
version: 9.1.4

- name: Install dependencies
run: |
cd ./apps/frontend
pnpm i -D
- name: Install Chrome WebDriver
uses: nanasess/setup-chromedriver@v2
with:
Expand All @@ -267,4 +272,4 @@ jobs:
- name: Run Browser Test
run: |
cd ./apps/frontend
pnpm test -- ./__tests__/browser-tests
pnpm browser-test
4 changes: 3 additions & 1 deletion apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest"
"test": "jest",
"unit-test": "jest __tests__/unit-tests",
"browser-test": "jest __tests__/browser-tests"
},
"dependencies": {
"@ant-design/icons": "^5.5.1",
Expand Down

0 comments on commit c784496

Please sign in to comment.