[JOJI-833] nav바 하이라이트 (#37) #131
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: CI | |
on: | |
push: | |
branches: [main, development] | |
pull_request: | |
branches: [main, development] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.18.1] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Node.js ${{ matrix.node-version }} 설정 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: 의존성 설치 | |
run: npm ci | |
- name: 빌드 | |
run: npm run build | |
timeout-minutes: 10 | |
- name: 빌드 결과물 업로드 | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-output | |
path: .next/ |