Skip to content

[NDD-337]: 면접용 닉네임 반환 API Controller 테스트 (1h / 1h) #136

[NDD-337]: 면접용 닉네임 반환 API Controller 테스트 (1h / 1h)

[NDD-337]: 면접용 닉네임 반환 API Controller 테스트 (1h / 1h) #136

Workflow file for this run

name: BE CI
on:
pull_request:
branches: [main, dev]
defaults:
run:
working-directory: ./BE
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Install Dependencies
run: npm install
- name: Make .env
run: |
touch ./.env
echo "${{ secrets.BE_ENV }}" > ./.env
- name: Make Cors Config
run: |
cd src/config
touch ./cors.secure.ts
echo "${{ secrets.BE_CONFIG }}" > ./cors.secure.ts
shell: sh
- name: Run Tests
run: npm test