From a6c746c3913dc37adfef33843fa7a78d3eb94a18 Mon Sep 17 00:00:00 2001 From: wonholim Date: Mon, 13 Nov 2023 22:44:32 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20=EB=B0=B1=EC=97=94=EB=93=9C=20CI=20yml?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/BackEnd_CI.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/BackEnd_CI.yml diff --git a/.github/workflows/BackEnd_CI.yml b/.github/workflows/BackEnd_CI.yml new file mode 100644 index 00000000..50cd3b44 --- /dev/null +++ b/.github/workflows/BackEnd_CI.yml @@ -0,0 +1,30 @@ +name: BackEnd-CI + +on: + push: + branches: 'feature/BE/*' + pull_request: + branches: 'develop' + types: [labeled, opened, synchronize, reopened] + +jobs: + test: + if: contains(github.event.pull_request.labels.*.name, 'πŸ’»λ°±μ—”λ“œ') + runs-on: ubuntu-latest + + steps: + - name: μ½”λ“œ 체크아웃 + uses: actions/checkout@v2 + + - name: node μ„ΈνŒ… + uses: actions/setup-node@v1 + with: + node-version: '18' + + - name: μ˜μ‘΄μ„± μ„€μΉ˜ + run: npm ci + working-directory: ./BackEnd + + - name: ν…ŒμŠ€νŠΈ 진행 + run: npm test + working-directory: ./BackEnd