Skip to content

Commit

Permalink
ci: 백엔드 CI yml파일 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
wonholim committed Nov 13, 2023
1 parent 66c23eb commit a6c746c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/BackEnd_CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: BackEnd-CI

on:
push:
branches: 'feature/BE/*'
pull_request:
branches: 'develop'
types: [labeled, opened, synchronize, reopened]

jobs:
test:
if: contains(github.event.pull_request.labels.*.name, '💻백엔드')
runs-on: ubuntu-latest

steps:
- name: 코드 체크아웃
uses: actions/checkout@v2

- name: node 세팅
uses: actions/setup-node@v1
with:
node-version: '18'

- name: 의존성 설치
run: npm ci
working-directory: ./BackEnd

- name: 테스트 진행
run: npm test
working-directory: ./BackEnd

0 comments on commit a6c746c

Please sign in to comment.