Merge pull request #155 from Codeit-FESI-06-Team2/purplenib-patch-2 #424
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: BuildTest | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' # 모든 브랜치 | |
| env: | |
| NEXT_PUBLIC_API_URL: ${{ secrets.NEXT_PUBLIC_API_URL }} | |
| PERSON_ACCESS_TOKEN: ${{ secrets.PERSON_ACCESS_TOKEN }} | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run lint | |
| run: npm run lint # lint 테스트 | |
| - name: Run build | |
| run: npm run build # build 테스트 | |
| - name: Debugging info | |
| run: | | |
| echo "NEXT_PUBLIC_API_URL=${{ secrets.NEXT_PUBLIC_API_URL }}" | |
| echo "PERSON_ACCESS_TOKEN=${{ secrets.PERSON_ACCESS_TOKEN }}" | |
| echo "Labels: ${{ github.event.pull_request.labels.*.name }}" |