[BE/#606] user service 테스트 코드 작성 #164
Workflow file for this run
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: Backend CI | |
on: | |
pull_request: | |
branches: | |
- BE | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
# 해당 레포의 소스코드가 작업 환경에 복제된다 , checkout 의 2번째 버젼 사용 | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# node.js 를 설치한다. | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20.9.x | |
# npm install 실행 | |
- name: Install dependencies | |
run: | | |
cd BE | |
npm install | |
# npm test 실행 | |
- name: Build and test | |
run: | | |
cd BE | |
npm run build | |
npm test |