Skip to content

Commit

Permalink
Merge pull request #119 from Team-TIFY/dev
Browse files Browse the repository at this point in the history
[Deploy] : docker container 연동
  • Loading branch information
eugene028 authored Oct 26, 2023
2 parents 074bd6f + c2b93a4 commit fa2db20
Show file tree
Hide file tree
Showing 583 changed files with 23,377 additions and 763 deletions.
38 changes: 22 additions & 16 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,38 @@ module.exports = {
env: {
browser: true,
es2020: true,
node: true
node: true,
},
extends: ['eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'plugin:storybook/recommended'
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
'plugin:react-hooks/recommended',
'plugin:react/recommended',
'plugin:storybook/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
sourceType: 'module',
},
plugins: ['react-refresh', 'react', 'react-hooks', '@typescript-eslint', 'prettier'],
plugins: ['react-refresh', 'react', 'react-hooks', '@typescript-eslint'],
rules: {
'react/jsx-curly-brace-presence': [
'error',
{ props: 'never', children: 'never' },
],
'react-refresh/only-export-components': 'warn',
'react/react-in-jsx-scope': "off",
'react/react-in-jsx-scope': 'off',
'react/no-children-prop': 'off',
'no-unused-expressions': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-empty-function': 'off',
'react/no-unknown-property':['error', {'ignore':['css']}],
'react/no-unknown-property': ['error', { ignore: ['css'] }],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{ 'ignoreRestSiblings' : true}
]
'@typescript-eslint/no-unused-vars': ['off', { ignoreRestSiblings: true }],
},
settings: {
'import/external-module-folders' : ['.yarn'],
}
};
'import/external-module-folders': ['.yarn'],
},
}
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/tify-UI-issue-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: TIFY UI issue template
about: 'make UI Component'
title: "💄 [UI] "
labels: UI
assignees: ''

---

## ✨ 어떤 작업인가요?

## ☑ TODO
- [ ]
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/tify-bug-issue-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: TIFY bug issue template
about: 'about need to fix bug'
title: "🐛 [Bug] "
labels: Bug
assignees: ''

---

## 🛠️ 어떤 버그를 고치나요?

## ☑ TODOS
- [ ]
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/tify-feature-request-template.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
name: TIFY Feature request template
about: feature
title: "\U0001F680 [feature] "
title: "\U0001F680 [Feature] "
labels: Feature
assignees: ''

---

# ☑ Implement TODO
## ☑ Implement TODO
- [ ]
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/tify-performance-issue-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: TIFY Performance issue template
about: performance
title: "🐎 [Performance] "
labels: Performance
assignees: ''

---
## 🚞 어떤 작업인가요?

## ☑ Implement TODO
- [ ]
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/tify-refactor-issue-template.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
name: TIFY refactor issue template
about: 'about need to refactor '
title: "\U0001F6E0️ [refactor] "
title: "\U0001F6E0️ [Refactor] "
labels: Refactor
assignees: ''

---

# 🛠️ 리팩토링이 필요한 부분
## 🛠️ 리팩토링이 필요한 부분

# 리팩토링 작업 브랜치
## 리팩토링 작업 브랜치

# ☑ Refactoring TODO
## ☑ Refactoring TODO
- [ ]
9 changes: 9 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Related Issues
<!-- - close 뒤에 이슈 달아주기 -->
- close
## Describe your changes
<!-- 스크린샷 및 작업내용을 적어주세요 -->

## To Reviewers
<!-- 리뷰어에게 남기는 참고사항을 적어주세요 -->

25 changes: 25 additions & 0 deletions .github/workflows/storybook-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build & Deploy Storybook
on:
pull_request:
branches: [dev]
paths: ['src/components/atoms/**']

jobs:
test:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: yarn
- name: Publish to Chromatic
id: chromatic
run : yarn chromatic
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
- name: comment PR
uses: thollander/actions-comment-pull-request@v2
with:
message: "🚀storybook: https://www.chromatic.com/builds?appId=64ace737dc3be00731907172"

4 changes: 2 additions & 2 deletions .github/workflows/tify-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: |
RELEASE_VERSION_WITHOUT_V="$(cut -d'v' -f2 <<< ${GITHUB_REF#refs/*/})"
echo ::set-output name=VERSION::$RELEASE_VERSION_WITHOUT_V
# - name: Create Release
# uses: ncipollo/release-action@v1
# with:
Expand All @@ -40,4 +40,4 @@ jobs:
file: ./dockerfile
platforms: linux/amd64
push: true
tags: eugene028/tify:${{ steps.get_version.outputs.VERSION }}
tags: eugene028/tify-client:latest
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ dist-ssr
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
!.yarn/versions
.yarn/install-state.gz
.pnp.*
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint
Loading

0 comments on commit fa2db20

Please sign in to comment.