CLAP-352 μ€λ₯μ¬ν Chloe #58
Workflow file for this run
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
| # 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 |