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

chore/#49 local github action test용 secret 파일 gitignore에 추가 #68

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

ShinYoung-Kim
Copy link
Contributor

요약 (Summary)

act를 추가하여 local에서 github action을 테스트해볼 수 있습니다.

배경 (Background)

github에서 실제 action을 돌려보기 전까지 코드가 잘 작성되었는지 확인하기 어려운 action 코드를 로컬에서 미리 테스트하여 불필요한 수정을 방지하기 위해 act라는 라이브러리를 적용하였습니다.

목표 (Goals)

pr을 올리기 전, 미리 github action을 로컬 환경에서 테스트해볼 수 있습니다.

이외 고려 사항들 (Other Considerations)

secret이 포함된 action 파일의 경우 실행시키기 위해선 로컬 환경의 secret 파일이 필요했고, 해당 파일의 이름을 임의로 local.secrets로 설정하였습니다.
(해당 파일을 만들어 필요한 액션의 secret을 추가하면 사용하실 수 있습니다.)
앞으로 작성하는 action 파일에 secret을 추가하신다면 잊지 말고 팀원들에게 공유해주세요!
(현재 secret 내용은 노션 > 디자인 시스템 > 구체적인 기술 스펙 > 계정 > local.secrets에 추가해놓았습니다. 현재 npm token, github token, primitive chromatic token을 추가해놓았습니다.)

관련 이슈

Copy link
Collaborator

@ghdtjgus76 ghdtjgus76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@github-actions github-actions bot added D-3 리뷰 마감 3일전 D-2 리뷰 마감 2일전 and removed D-3 리뷰 마감 3일전 labels Aug 30, 2024
Copy link

github-actions bot commented Sep 1, 2024

VRT 테스트 성공

VRT 테스트가 성공적으로 완료되었습니다.

@github-actions github-actions bot added D-1 리뷰 마감 1일전 and removed D-2 리뷰 마감 2일전 labels Sep 1, 2024
@ShinYoung-Kim ShinYoung-Kim merged commit 30ff7e8 into develop Sep 2, 2024
1 check passed
@ShinYoung-Kim ShinYoung-Kim deleted the feat/#49 branch September 2, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-1 리뷰 마감 1일전 ⚙️ 세팅
Projects
None yet
Development

Successfully merging this pull request may close these issues.

로컬 github action 테스트
4 participants