Skip to content

[BE] 27.07 주식 μ£Όλ¬Έ μ„œλΉ„μŠ€ ν…ŒμŠ€νŠΈ μ½”λ“œ μž‘μ„± #237 #405

[BE] 27.07 주식 μ£Όλ¬Έ μ„œλΉ„μŠ€ ν…ŒμŠ€νŠΈ μ½”λ“œ μž‘μ„± #237

[BE] 27.07 주식 μ£Όλ¬Έ μ„œλΉ„μŠ€ ν…ŒμŠ€νŠΈ μ½”λ“œ μž‘μ„± #237 #405

Workflow file for this run

name: CI
on:
push:
branches: [back/main, front/main]
pull_request:
branches: [back/main, front/main]
jobs:
BE-test-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: ./BE/package-lock.json
- name: Install dependencies
working-directory: ./BE
run: npm ci
- name: Run tests
run: npm test
working-directory: ./BE
env:
CI: true
- name: Run linter
working-directory: ./BE
run: npm run lint
- name: Build application
working-directory: ./BE
run: npm run build
FE-test-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: ./FE/package-lock.json
- name: Install dependencies
working-directory: ./FE
run: npm ci
- name: Run linter
working-directory: ./FE
run: npm run lint
- name: Build application
working-directory: ./FE
run: npm run build