-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* env : 의존성 설치 * env : storybook 설정 * env : tailwind 설치 * env : tailwind 설정 * env : axios react-query zustand ts-pattern 설치 * env : 절대 경로 설정 * env : 이슈,pr 템플릿 생성 * ci : storybook cicd 적용 * ci storybook 테스트 * ci : 스토리북 cicd 테스트 * ci : 스토리북 cicd 적용 * ci : ci 테스트 설정 * env : eslint, prettier 적용 * env : pwa 생성 * chore : pwa 설정 변경 * chore : lint, foramt 적용 * ci : 배포 cicd 적용 * ci : pnp 방식을 적용하도록 설정 * ci : 브랜치 변경 * ci : ci 코멘트 테스트 * ci : ci 코멘트 테스트
- Loading branch information
Showing
78 changed files
with
37,583 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,10 @@ | ||
# 🚀개요 | ||
|
||
# 📝작업 내용 | ||
|
||
- [ ] | ||
- [ ] | ||
|
||
## 🔍백엔드 전달 사항 | ||
|
||
# 🎸기타 (연관 이슈) |
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,14 @@ | ||
# 🚀요약 | ||
|
||
# 📸사진 (구현 캡처) | ||
|
||
# 📝작업 내용 | ||
|
||
- [ ] | ||
- [ ] | ||
|
||
## 🔍백엔드 전달 사항 | ||
|
||
# 🎸기타 (연관 이슈) | ||
|
||
close #이슈번호 |
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,55 @@ | ||
name: postamn | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20.18.0' | ||
|
||
- name: Cache Yarn dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: ./.yarn/cache | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Build project | ||
run: | | ||
yarn build | ||
- name: Deploy to S3 | ||
uses: jakejarvis/[email protected] | ||
with: | ||
args: --delete | ||
env: | ||
AWS_S3_BUCKET: devfinal | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_REGION: ap-northeast-2 | ||
SOURCE_DIR: dist | ||
|
||
- name: Invalidate CloudFront Cache | ||
run: | | ||
aws cloudfront create-invalidation \ | ||
--distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} \ | ||
--paths "/*" | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_REGION: ap-northeast-2 |
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,40 @@ | ||
# Workflow name | ||
name: 'Chromatic Deployment' | ||
|
||
on: | ||
pull_request: | ||
branches: main | ||
paths: | ||
- '**.stories.tsx' | ||
push: | ||
branches: main | ||
paths: | ||
- '**.stories.tsx' | ||
|
||
jobs: | ||
chromatic-deployment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: actions/checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install dependencies | ||
run: yarn install --immutable --check-cache | ||
|
||
- name: Publish to Chromatic | ||
id: publish_chromatic | ||
uses: chromaui/action@v1 | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
buildScriptName: build-storybook | ||
onlyChanged: true | ||
|
||
- name: comment PR | ||
uses: thollander/actions-comment-pull-request@v1 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
message: '🚀 **storybook**: ${{ steps.publish_chromatic.outputs.storybookUrl }}' |
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,35 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
|
||
|
||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# Zero-Install을 사용 | ||
|
||
.yarn/* | ||
!.yarn/cache | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
*storybook.log |
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,2 @@ | ||
yarn lint | ||
yarn format |
Oops, something went wrong.