-
Notifications
You must be signed in to change notification settings - Fork 1
[PR] 배포 테스트 및 전체 구조 반영 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6d28849
0a5d35f
dd5b12c
a49a8f8
0cd153b
1384e85
8c2623f
b3acbf5
81aa252
31fa770
9e09323
8f32678
2e43ebb
0f846d2
5dabc90
266bdbf
8a4907b
1714217
b044977
dfd108c
ba04c5b
2749ec3
3136bc8
5c49d8b
54726a5
474a8af
92939e8
72e3583
48ed455
ea43f47
b344581
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: git push into Fork Repo | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| container: pandoc/latex | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Install mustache (to update the date) | ||
| run: apk add ruby && gem install mustache | ||
| - name: creates output | ||
| run: sh ./build.sh | ||
| - name: Pushes to another repository | ||
| id: push_directory | ||
| uses: cpina/github-action-push-to-another-repository@main | ||
| env: | ||
| API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | ||
| with: | ||
| source-directory: 'output' | ||
| destination-github-username: Dobbymin | ||
| destination-repository-name: seed-fe | ||
| user-email: ${{ secrets.OFFICIAL_ACCOUNT_EMAIL }} | ||
| commit-message: ${{ github.event.commits[0].message }} | ||
| target-branch: main | ||
| - name: Test get variable exported by push-to-another-repository | ||
| run: echo $DESTINATION_CLONED_DIRECTORY | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,3 +22,5 @@ dist-ssr | |
| *.njsproj | ||
| *.sln | ||
| *.sw? | ||
|
|
||
| .eslintcache | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,4 @@ | ||||||||||||||||
| npx lint-staged | ||||||||||||||||
|
|
||||||||||||||||
| pnpm run lint:fix | ||||||||||||||||
| pnpm run tsc | ||||||||||||||||
|
Comment on lines
+3
to
+4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Comment on lines
+1
to
+4
|
||||||||||||||||
| npx lint-staged | |
| pnpm run lint:fix | |
| pnpm run tsc | |
| pnpm exec lint-staged | |
| pnpm run tsc |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,8 +7,8 @@ public | |
|
|
||
| # 환경설정 파일 무시 | ||
| *.lock | ||
| # *.config.js | ||
| # *.config.ts | ||
| *.config.js | ||
| *.config.ts | ||
| *.config.mjs | ||
| *.md | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,13 +6,26 @@ | |
| "scripts": { | ||
| "dev": "vite", | ||
| "build": "tsc -b && vite build", | ||
|
Comment on lines
6
to
8
|
||
| "lint": "eslint .", | ||
| "preview": "vite preview" | ||
| "lint": "eslint --cache .", | ||
| "lint:fix": "eslint --cache --fix .", | ||
| "tsc": "tsc --noEmit", | ||
| "format": "prettier --write .", | ||
| "preview": "vite preview", | ||
| "prepare": "husky" | ||
| }, | ||
| "lint-staged": { | ||
| "*.{js,jsx,ts,tsx}": [ | ||
| "prettier --write", | ||
| "eslint --fix" | ||
| ] | ||
| }, | ||
| "dependencies": { | ||
| "@chakra-ui/react": "^3.31.0", | ||
| "@emotion/react": "^11.14.0", | ||
| "@emotion/styled": "^11.14.1", | ||
| "@react-pdf/renderer": "^4.3.2", | ||
| "@tanstack/react-query": "^5.90.20", | ||
| "axios": "^1.13.4", | ||
| "react": "^19.2.0", | ||
| "react-dom": "^19.2.0", | ||
| "react-router": "^7.13.0" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Workflow runs
sh ./build.sh, but this repository doesn’t includebuild.sh, so this job will fail on every push tomain. Either add the script (and ensure it creates the expectedoutput/dir) or remove/replace these steps with the actual build/publish process for this project.