[Feat] 대시보드 UI 수정, summary 여부에 따른 AI 요약 확인 버튼 분기 #395
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
name: Check PR | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Branch | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Install Packages | |
run: pnpm install --frozen-lockfile | |
- name: Build @repo | |
run: pnpm build:packages | |
- name: Run Check Scripts | |
run: | | |
set -o pipefail | |
pnpm run check | tee check.log | |
- name: Print Summary | |
run: | | |
echo "## Check Result" >> $GITHUB_STEP_SUMMARY | |
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY | |
echo "$(cat check.log)" >> $GITHUB_STEP_SUMMARY | |
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY |