Skip to content

gyuhochoime is testing out GitHub Actions πŸš€ #1

gyuhochoime is testing out GitHub Actions πŸš€

gyuhochoime is testing out GitHub Actions πŸš€ #1

name: Merge To Ready
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
on:
push:
branches:
- main
- develop
pull_request:
types:
- opened
- reopened
- synchronize #PR에 컀밋이 좔가될 λ•Œ μ‹€ν–‰
jobs:
update-status:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write # μžλ™μœΌλ‘œ 이슈 μƒνƒœ μ—…λ°μ΄νŠΈ
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Run Lint
run: npm run lint
- name: Run Prettier
run: npm run format
- name: Build Project
run: npm run build