Skip to content

Commit 619d64d

Browse files
committed
feat: generator build 추가, 배포전 flutter test를 진행하도록 로직 추가
1 parent f59b361 commit 619d64d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/web-deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jobs:
2525
- name: Install dependencies
2626
run: flutter pub get
2727

28+
# Generator 빌드
29+
- name: Run Code Generation
30+
run: flutter pub run build_runner build --delete-conflicting-outputs
31+
32+
# Flutter Test 진행
33+
# => test에서 실패하면 배포가 되지 않도록 설정
34+
- name: Run Tests
35+
run: flutter test
36+
2837
# 플러터 웹 빌드
2938
- name: Build web
3039
run: flutter build web --base-href "/${{ github.event.repository.name }}/"

0 commit comments

Comments
 (0)