Skip to content

Commit

Permalink
ci: 🧪 add 'npm run test' to yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hotungkhanh committed Oct 23, 2024
1 parent 490aa7c commit 9193862
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
- handover


jobs:
build:
Expand All @@ -26,7 +28,11 @@ jobs:
- name: Build Frontend
run: |
cd frontend
npm run test
npm run build
env:
VITE_FRONTEND_USERNAME: ${{secrets.FRONTEND_USERNAME}}
VITE_FRONTEND_PASSWORD: ${{secrets.FRONTEND_PASSWORD}}

- name: Set up Java for Backend
uses: actions/setup-java@v4
Expand Down

0 comments on commit 9193862

Please sign in to comment.