Skip to content

Merge pull request #248 from resistance2/refactor/image-load-refactor… #203

Merge pull request #248 from resistance2/refactor/image-load-refactor…

Merge pull request #248 from resistance2/refactor/image-load-refactor… #203

Workflow file for this run

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: '타입 체크 중 에러가 발생했습니다. 자세한 내용은 로그를 확인해주세요.'
})