From 7903f24ee59a848634a4237070db17c093821961 Mon Sep 17 00:00:00 2001 From: JangAJang Date: Mon, 6 Nov 2023 13:23:29 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=EB=B0=B1=EC=97=94=EB=93=9C=20CI?= =?UTF-8?q?=ED=88=B4=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/backend_ci_tool.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/backend_ci_tool.yml diff --git a/.github/backend_ci_tool.yml b/.github/backend_ci_tool.yml new file mode 100644 index 0000000..fc13005 --- /dev/null +++ b/.github/backend_ci_tool.yml @@ -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