Skip to content

Commit

Permalink
Merge pull request #711 from woowacourse-teams/dev/fe
Browse files Browse the repository at this point in the history
[FE] 코드잽 프로덕션 v1.1.2 배포
  • Loading branch information
vi-wolhwa authored Sep 27, 2024
2 parents 0e37b8b + 427e9bf commit 7d34058
Show file tree
Hide file tree
Showing 155 changed files with 1,849 additions and 911 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/frontend_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ jobs:
run: |
if [ "${{ github.ref_name }}" == "main" ]; then
echo "REACT_APP_API_URL=${{ secrets.REACT_APP_API_URL }}" > ${{ env.frontend-directory }}/.env.production
echo "REACT_APP_BASE_URL=${{ secrets.REACT_APP_BASE_URL }}" >> ${{ env.frontend-directory }}/.env.production
else
echo "REACT_APP_API_URL=${{ secrets.REACT_APP_BETA_API_URL }}" > ${{ env.frontend-directory }}/.env.development
echo "REACT_APP_BASE_URL=${{ secrets.REACT_APP_BETA_BASE_URL }}" >> ${{ env.frontend-directory }}/.env.development
echo "REACT_APP_API_URL=${{ secrets.REACT_APP_BETA_API_URL }}" > ${{ env.frontend-directory }}/.env.production
fi
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> ${{ env.frontend-directory }}/.env.production
echo "SENTRY_DSN=${{ secrets.SENTRY_DSN }}" >> ${{ env.frontend-directory }}/.env.production
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> ${{ env.frontend-directory }}/.env.sentry-build-plugin
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
### Environment Variable ###
.env

### playwright authentication context
.auth

*.crt
*.csr
*.key
Expand Down
22 changes: 17 additions & 5 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@
"import/order": [
"error",
{
"groups": [
["builtin", "external"],
["internal", "parent", "sibling", "index", "type"]
],
"groups": [["builtin", "external"], ["internal"], ["parent", "sibling", "index", "type"]],
"warnOnUnassignedImports": true,
"alphabetize": { "order": "asc" },
"newlines-between": "always",
Expand All @@ -71,7 +68,22 @@
"position": "before"
},
{
"pattern": "./**",
"pattern": "../",
"group": "parent",
"position": "before"
},
{
"pattern": "./components",
"group": "sibling",
"position": "before"
},
{
"pattern": "./hooks",
"group": "sibling",
"position": "before"
},
{
"pattern": "./*.style",
"group": "sibling",
"position": "after"
}
Expand Down
4 changes: 4 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ dist
*.crt
*.key
*.csr
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
1 change: 1 addition & 0 deletions frontend/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const config: Config = {
'react-syntax-highlighter/dist/esm': 'react-syntax-highlighter/dist/cjs',
},
transformIgnorePatterns: ['/node_modules/(?!react-syntax-highlighter)'],
testPathIgnorePatterns: ['/playwright/'],
};

export default config;
Loading

0 comments on commit 7d34058

Please sign in to comment.