gyuhochoime is testing out GitHub Actions π #1
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: 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 |