Skip to content

Commit

Permalink
docs: 백엔드 CI툴 구현 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
JangAJang authored Nov 6, 2023
1 parent b38df09 commit 2b20971
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/backend_ci_tool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: backend CI
on:
pull_request:
branches: [feat/back]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Start the NestJS server
run: npm start

0 comments on commit 2b20971

Please sign in to comment.