From c2f232ece9e1d338d51dce5d71082c2698bc520b Mon Sep 17 00:00:00 2001 From: jayming66 Date: Tue, 23 Jul 2024 13:54:53 +0900 Subject: [PATCH] =?UTF-8?q?feat(workflows):=20frontend=20ci=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/frontend_ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/frontend_ci.yml diff --git a/.github/workflows/frontend_ci.yml b/.github/workflows/frontend_ci.yml new file mode 100644 index 000000000..efd1f4b6d --- /dev/null +++ b/.github/workflows/frontend_ci.yml @@ -0,0 +1,27 @@ +name: Frontend CI + +on: + pull_request: + branches: + - '**' + +jobs: + build-with-test: + runs-on: ubuntu-latest + env: + frontend-directory: ./frontend + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install Dependencies + run: npm install + working-directory: ${{ env.frontend-directory }} + + - name: Run Tests + run: npm test + working-directory: ${{ env.frontend-directory }}