-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from taejun0/main
git template 추가
- Loading branch information
Showing
3 changed files
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: ISSUE | ||
about: 프론트엔드 이슈 템플릿 | ||
title: "[Tag] Issue Message " | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
## ✔️ Issue | ||
|
||
<!-- 이슈에 대해 간략하게 설명해주세요 --> | ||
|
||
## 📝 To-do | ||
|
||
<!-- 진행할 작업에 대해 적어주세요 --> | ||
|
||
- [ ] 할 일 | ||
|
||
## 🛠 Working time | ||
|
||
<!-- 예상 작업시간을 적어주세요 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## 🔍 What is the PR? | ||
|
||
<!-- PR 내용을 리스트로 작성--> | ||
|
||
## 📸 Screenshot | ||
|
||
<!-- 작업한 화면의 스크린 샷 --> | ||
|
||
## 📍 PR Point | ||
|
||
<!-- 나 이 부분 찢었다~! --> | ||
|
||
## 📢 Notices | ||
|
||
<!--공용으로 사용하는(Extension) 부분에 대한 설명--> | ||
|
||
## ✅ Check List | ||
|
||
- [ ] Merge 하는 브랜치가 올바른가? | ||
- [ ] PR과 관련없는 변경사항이 없는가? | ||
- [ ] 내 코드에 대한 자기 검토가 되었는가? | ||
|
||
## 💭 Related Issues | ||
|
||
<!-- 작업한 이슈번호를 # 뒤에 붙여주세요. --> | ||
|
||
- ex) #3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: CI/CD for React App | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build the project | ||
run: npm run build | ||
|
||
- name: Verify build output (Debug) | ||
run: | | ||
echo "Build output:" | ||
ls -R ./dist | ||
- name: Install Vercel CLI | ||
run: npm install -g vercel@latest | ||
|
||
- name: Verify VERCEL_TOKEN | ||
run: | | ||
if [ -z "${{ secrets.VERCEL_TOKEN }}" ]; then | ||
echo "Error: VERCEL_TOKEN is not set!" | ||
exit 1 | ||
else | ||
echo "VERCEL_TOKEN is properly set." | ||
fi | ||
- name: Deploy to Vercel | ||
env: | ||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
run: | | ||
vercel --prod --yes --token $VERCEL_TOKEN --cwd ./dist |