Merge pull request #78 from boostcampwm-2024/feature-3-11 #3
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
name: Backend CI | |
on: | |
push: | |
branches: | |
- dev | |
paths: | |
- "server/**" | |
jobs: | |
be-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "22" | |
- name: Install backend dependencies | |
working-directory: server | |
run: npm install | |
- name: Run backend tests | |
working-directory: server | |
run: npm test |