From 1ececdb455f30ea1930b7d71f9f6f5cf619347d5 Mon Sep 17 00:00:00 2001 From: Diego Quintanilla Date: Sun, 10 Nov 2024 15:21:19 -0500 Subject: [PATCH] add client GH Actions config p1 --- .github/workflows/client-ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/client-ci.yml diff --git a/.github/workflows/client-ci.yml b/.github/workflows/client-ci.yml new file mode 100644 index 0000000..d1e205c --- /dev/null +++ b/.github/workflows/client-ci.yml @@ -0,0 +1,25 @@ +on: + push: + branches: [main, develop] + paths: + - "client/**" + pull_request: + branches: [main, develop] + paths: + - "client/**" + +jobs: + build: + runs-on: ubuntu-latest + defaults: + run: + working-directory: client/ + + steps: + - uses: actions/checkout@v4 + - name: Install Dependencies + run: npm ci + - name: Run Tests + run: npm test + - name: Build + run: npm run build