Skip to content

Commit

Permalink
Merge pull request #21 from Guzzing/feat/14-feature-cicd
Browse files Browse the repository at this point in the history
CI 워크플로우 제거 및 허스키 추가
  • Loading branch information
HeeSeok-kim authored Oct 25, 2023
2 parents cd37b98 + 8a71f04 commit 56ad15a
Show file tree
Hide file tree
Showing 10 changed files with 498 additions and 20 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
'vite.config.ts',
'tailwind.config.js',
'postcss.config.js',
'vite-env.d.ts'
],
parser: '@typescript-eslint/parser',
parserOptions: {
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/CodeDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,13 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_ACCESS_KEY }}
AWS_REGION: 'ap-northeast-2'
SOURCE_DIR: 'dist' # React 빌드 결과물 디렉터리
SOURCE_DIR: 'dist' # React 빌드 결과물 디렉터리

- name: Invalidate CloudFront
uses: chetan/[email protected]
env:
DISTRIBUTION: ${{ secrets.CLOUDFRONT_ID }}
PATHS: '/*'
AWS_REGION: 'ap-northeast-2'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_ACCESS_KEY }}
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"

npx lint-staged
7 changes: 3 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"semi" : false,
"trailling Comma" : "none",
"trailingComma" : "none",
"arrowParens": "always",
"singleQuote": true,
"tab width" : 2,
"printwidth" : 80

"tabWidth" : 2,
"printWidth" : 80
}
Loading

0 comments on commit 56ad15a

Please sign in to comment.