refactor: 이미지 로드 리팩토링 및 최적화 설정 추가 #201
This file contains hidden or 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
| name: Type Check and Error Reporting | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| type-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.0.11 | |
| - run: bun install | |
| - name: Check out the code | |
| id: type-check | |
| run: | | |
| bun run type-check | |
| bun run lint | |
| - name: Report type check errors | |
| if: failure() && steps.type-check.outcome == 'failure' | |
| uses: actions/github-script@v6 | |
| with: | |
| github-token: ${{secrets.GITHUB_TOKEN}} | |
| script: | | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: '타입 체크 중 에러가 발생했습니다. 자세한 내용은 로그를 확인해주세요.' | |
| }) |