-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
152 additions
and
4 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,7 @@ | ||
## 작업 내용 요약 | ||
|
||
- 작성 | ||
|
||
### 참고자료 | ||
|
||
- 작성 |
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,39 @@ | ||
name: cache-modules | ||
run-name: node_modules update | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
|
||
jobs: | ||
update-cache: | ||
timeout-minutes: 10 | ||
name: update-cache | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 체크아웃 | ||
uses: actions/checkout@v4 | ||
|
||
- name: node 세팅 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.15.1' | ||
npm: '10.8.1' | ||
|
||
- name: 의존성 캐싱 | ||
uses: actions/cache@v3 | ||
id: npm-cache | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-nodekey-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-nodekey- | ||
- name: 의존성 설치 | ||
if: steps.npm-cache.outputs.cache-hit != 'true' | ||
run: npm install |
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,99 @@ | ||
name: CI-check | ||
run-name: CI by @${{ github.actor }} | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
permissions: | ||
pull-requests: write | ||
contents: read | ||
|
||
jobs: | ||
setup: | ||
name: CI 작업 세팅 | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 체크아웃 | ||
uses: actions/checkout@v4 | ||
|
||
- name: node 세팅 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.15.1' | ||
npm: '10.8.1' | ||
|
||
- name: 의존성 캐싱 | ||
uses: actions/cache@v3 | ||
id: npm-cache | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-nodekey-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-nodekey- | ||
- if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }} | ||
run: npm install | ||
|
||
lint: | ||
name: lint 체크 | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- name: 체크아웃 | ||
uses: actions/checkout@v4 | ||
|
||
- name: node 세팅 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.15.1' | ||
npm: '10.8.1' | ||
|
||
- name: 의존성 캐싱 | ||
uses: actions/cache@v3 | ||
id: npm-cache | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-nodekey-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-nodekey- | ||
- name: ESLint 실행 | ||
run: npm run lint | ||
|
||
type-check: | ||
name: 타입 체킹 | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- name: 체크아웃 | ||
uses: actions/checkout@v4 | ||
|
||
- name: node 세팅 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.15.1' | ||
npm: '10.8.1' | ||
|
||
- name: 의존성 캐싱 | ||
uses: actions/cache@v3 | ||
id: npm-cache | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-nodekey-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-nodekey- | ||
- name: 타입 체크 | ||
run: npm run type-check |
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
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 |
---|---|---|
|
@@ -5,5 +5,5 @@ function App() { | |
</div> | ||
); | ||
} | ||
|
||
const a: number = '@'; | ||
export default App; |
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