Skip to content

CLAP-352 였λ₯˜μ‚¬ν•­ Chloe #58

CLAP-352 였λ₯˜μ‚¬ν•­ Chloe

CLAP-352 였λ₯˜μ‚¬ν•­ Chloe #58

Workflow file for this run

# github repository actions νŽ˜μ΄μ§€μ— λ‚˜νƒ€λ‚  이름
name: CI for front using github actions
# event trigger
# develop λΈŒλžœμΉ˜μ— pull_requestκ°€ λ‹«νžˆκ±°λ‚˜ ν‘Έμ‹œν–ˆμ„λ•Œ μ‹€ν–‰
on:
pull_request:
types: [ opened, synchronize ]
branches: [ "release" ]
permissions:
contents: read
jobs:
front-ci:
runs-on: ubuntu-latest
steps:
# μ €μž₯μ†Œ μ½”λ“œλ₯Ό μ²΄ν¬μ•„μ›ƒν•©λ‹ˆλ‹€. (PR 올린 μ½”λ“œλ₯Ό κ°€μ Έμ˜€λŠ” ν–‰μœ„)
- uses: actions/checkout@v4
# Node.js ν™˜κ²½ μ„€μ •
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22 # μ§€μ •λœ Node.js 버전 μ‚¬μš©
cache: npm # setup-node 의 μΊμ‹œ κΈ°λŠ₯을 μ‚¬μš©ν•¨
cache-dependency-path: package-lock.json # μΊμ‹œ κΈ°λŠ₯을 μ‚¬μš©ν•  λ•Œ μΊμ‹œμ˜ 기쀀이 될 νŒŒμΌμ„ μ§€μ •
- name: Install Dependencies
run: npm install
- name: Build with npm
run: npm run build-only