Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions 캐시 사용 #679

Open
3 tasks
withSang opened this issue Oct 7, 2023 · 1 comment
Open
3 tasks

GitHub Actions 캐시 사용 #679

withSang opened this issue Oct 7, 2023 · 1 comment
Assignees
Labels
d-needed (Discussion Needed) 의논 필요 🔨refactoring 기존의 코드를 리팩토링합니다

Comments

@withSang
Copy link
Member

withSang commented Oct 7, 2023

Summary

캐시가 없어 매번 처음 실행할 때와 같은 시간이 소요되는 GitHub Action 워크플로에 캐시를 도입합니다.
cache Action을 사용하면 이전 run의 아티팩트를 저장해 다음 run에서 불러올 수 있어 테스트 및 빌드 시간이 크게 단축됩니다(https://github.com/sparcs-kaist/zabo-front-reactjs 기준 약 2배).
sparcs-kaist/taxi-back#414 를 따라 진행하려고 합니다.

또한 이미지를 multi-stage로 빌드합니다.
정적 파일을 빌드하는 이미지와 정적 파일을 서빙하는 이미지를 분리함으로써, 최종적으로 배포되는 이미지의 크기를 줄일 수 있습니다.

Tasks

@withSang withSang added ⚒ enhancement New feature or request d-needed (Discussion Needed) 의논 필요 labels Oct 7, 2023
@withSang withSang self-assigned this Oct 9, 2023
@withSang withSang added 🔨refactoring 기존의 코드를 리팩토링합니다 and removed ⚒ enhancement New feature or request labels Oct 9, 2023
@SnowSuno
Copy link
Member

이런 이슈가 있었군요 #700 에서 pnpm fetch 관련 개선사항은 적용하였습니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d-needed (Discussion Needed) 의논 필요 🔨refactoring 기존의 코드를 리팩토링합니다
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants