Skip to content

Merge branch 'main' of https://github.com/codeit-team3/FE #16

Merge branch 'main' of https://github.com/codeit-team3/FE

Merge branch 'main' of https://github.com/codeit-team3/FE #16

Workflow file for this run

name: Deploy to production (main)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy-production:
name: Deploy to Production
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x] # Node.js 18.x와 20.x 버전으로 테스트
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }} # 매트릭스를 사용하여 버전 설정
- name: Install dependencies
run: npm install
- name: Build Next.js app
run: npm run build