Config/BE/#477: 테스트(Jest
)를 위한 Path 설정 추가
#369
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 Pipeline | |
on: | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
build-and-test: | |
if: contains(github.event.pull_request.labels.*.name, '🌐Backend🌐') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js for Backend | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: Install Backend dependencies | |
run: cd backend && yarn install | |
- name: Run Backend tests | |
run: cd backend && yarn test | |
- name: Build Backend | |
run: cd backend && yarn build |