Skip to content

Conversation

@createhb21
Copy link
Member

@createhb21 createhb21 commented Feb 1, 2025

What is this PR? 🔍

CI advancement & Image Optimizations & analyze


CI advancement

  • using nx cloud for remote cache

Image Optimizations

  • use sharp and svgo for image optimizations
    • with vite-plugin-image-optimizer on app service(based on vite)
    • install sharp on Docker Container (based on next.js)

as-is
스크린샷 2025-02-02 오후 5 24 50

to-be
스크린샷 2025-02-02 오후 5 25 13

Bundle analyze, Lighthouse, Stress Test

  • add bundle analyze tools for Evaluating and Continuous improvement.
  • add stress test scripts with autocannon
  • add lighthouse web-vitals test

close #313

This commit sets up Nx Cloud for your Nx workspace, enabling distributed caching and the Nx Cloud GitHub integration for fast CI and improved developer experience.

You can access your Nx Cloud workspace by going to
https://cloud.nx.app/orgs/679e78e771fd2cb4bf200e5c/workspaces/679e791071fd2cb4bf200e60

**Note:** This commit attempts to maintain formatting of the nx.json file, however you may need to correct formatting by running an nx format command and committing the changes.
@createhb21 createhb21 added ⚙️ Chore build와 관련된 부분, 패키지 매니저 설정 등 여러가지 production code와 무관한 것들 D-3 labels Feb 1, 2025
@createhb21 createhb21 self-assigned this Feb 1, 2025
# Conflicts:
#	services/one-app/src/app/(main-service)/community/page.tsx
#	services/one-app/src/app/(main-service)/lost-found/page.tsx
#	services/one-app/src/component/SearchFormWithString.tsx (#ci-advancement)
@createhb21 createhb21 force-pushed the chore/ci-advancement branch 3 times, most recently from cea3fad to c3ec40e Compare February 1, 2025 20:57
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@createhb21 createhb21 force-pushed the chore/ci-advancement branch from acf2625 to c0608c1 Compare February 1, 2025 21:38
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@ahachulTeam ahachulTeam deleted a comment from nx-cloud bot Feb 1, 2025
@nx-cloud
Copy link

nx-cloud bot commented Feb 1, 2025

View your CI Pipeline Execution ↗ for commit 77a27af.

Command Status Duration Result
nx-cloud record -- nx-cloud record -- nx affect... ✅ Succeeded 19s View ↗
nx-cloud record -- nx affected -t lint ✅ Succeeded 18s View ↗
nx affected -t lint ✅ Succeeded 16s View ↗
nx-cloud record -- nx-cloud record -- nx affect... ✅ Succeeded 8s View ↗
nx-cloud record -- nx affected -t test ✅ Succeeded 7s View ↗
nx affected -t test ✅ Succeeded 4s View ↗
nx-cloud record -- nx affected -t build ✅ Succeeded 53s View ↗
nx affected -t build ✅ Succeeded 50s View ↗
Additional runs (2) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2025-02-02 09:10:42 UTC

@createhb21 createhb21 closed this Feb 1, 2025
@createhb21 createhb21 reopened this Feb 2, 2025
@createhb21 createhb21 force-pushed the chore/ci-advancement branch from 5a7b09d to fd424f5 Compare February 2, 2025 08:54
@createhb21 createhb21 changed the title chore: CI advancement chore: ci workflow 개선, 약간의 이미지 최적화 작업들 Feb 2, 2025
@createhb21 createhb21 changed the title chore: ci workflow 개선, 약간의 이미지 최적화 작업들 chore: ci workflow 개선, 약간의 이미지 최적화 작업들, 부하테스트 Feb 2, 2025
@createhb21
Copy link
Member Author

createhb21 commented Feb 2, 2025

I found some libraries to be too heavy. And I know it's not worth it. We plan to correct this.
and have to make code-spliiting on vite service(with stackflow).

@createhb21 createhb21 merged commit ae213d6 into develop Feb 2, 2025
7 checks passed
@createhb21 createhb21 deleted the chore/ci-advancement branch February 2, 2025 09:13
createhb21 added a commit that referenced this pull request Feb 4, 2025
* feat: next.js 폴더 구조 개선 (#308) (#309)

* feat: next.js 폴더 구조 개선 (#308)

* chore: script 명령어 관련 개선 (#308)

* chore: nextjs ci failed issue fix (#308)

* fix: type check issue fix (#308)

* feat: next app router 15 기본 구조 잡는 작업 (#310) (#311)

* feat: header & navMenu 추가 (#310)

* feat: 기본 구조 작업 (#310)

* chore: fix ci error (#310)

* chore: deploy nextjs (#develop)

* feat: prefetch & ssr pages (#310-prefetch) (#312)

* chore: ci workflow 개선, 약간의 이미지 최적화 작업들, 부하테스트 (#316)

* feat: prefetch & ssr pages (#310-prefetch)

* chore: ci improves and next.js add sharp (#ci-advancement)

* feat(nx-cloud): setup nx cloud workspace (#315)

This commit sets up Nx Cloud for your Nx workspace, enabling distributed caching and the Nx Cloud GitHub integration for fast CI and improved developer experience.

You can access your Nx Cloud workspace by going to
https://cloud.nx.app/orgs/679e78e771fd2cb4bf200e5c/workspaces/679e791071fd2cb4bf200e60

**Note:** This commit attempts to maintain formatting of the nx.json file, however you may need to correct formatting by running an nx format command and committing the changes.

* chore: add cancel-in-progress: true (#ci-advancement)

* fix: ci-app.yml fix (#ci-advancement)

* chore: conflicts (#ci-advancement)

* chore: update ci for using nx (#ci-advancement)

* chore: next.js project에도 bundle analyze와 부하 테스트트 스크립트 추가 (#ci-advancement)

* chore: fix docker build issue - install sharp on workspace (#develop)

* chore: Adjusting CI (#317)

* chore: adjust ci (#ci-adjust)

* chore: remove comment (#ci-adjust)

* chore: ci working test (#ci-adjust)

* chore: ci working test 2 (#ci-adjust)

* feat(nx-cloud): setup nx cloud workspace (#318)

This commit sets up Nx Cloud for your Nx workspace, enabling distributed caching and the Nx Cloud GitHub integration for fast CI and improved developer experience.

You can access your Nx Cloud workspace by going to
https://cloud.nx.app/orgs/67a199185e4612c72a76ed4c/workspaces/67a199375e4612c72a76ed4f

**Note:** This commit attempts to maintain formatting of the nx.json file, however you may need to correct formatting by running an nx format command and committing the changes.

* chore: ci working test 3 (#ci-adjust)

* chore: ci working test 4 (#ci-adjust)

* chore: ci affected test (#ci-adjust)

* chore: ci affected test 2 (#ci-adjust)

* chore: using nx ci token (#ci-adjust)

* chore: test affected (#ci-adjust)

* chore: test affected (#ci-adjust)

* chore: test affected (#ci-adjust)

* chore: test affected (#ci-adjust)

* chore: test affected (#ci-adjust)

---------

Co-authored-by: ahHachul <[email protected]>

---------

Co-authored-by: ahHachul <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️ Chore build와 관련된 부분, 패키지 매니저 설정 등 여러가지 production code와 무관한 것들 D-3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CHORE] 성능 체크

2 participants