From c282d4e2987e05d49a07f79a0e02be2ee568b2bf Mon Sep 17 00:00:00 2001 From: Adi Harif Date: Wed, 2 Oct 2024 05:31:22 +0300 Subject: [PATCH] Adds running all tests in ci --- .github/workflows/ci-tests.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci-tests.yml diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml new file mode 100644 index 0000000..a2ca967 --- /dev/null +++ b/.github/workflows/ci-tests.yml @@ -0,0 +1,29 @@ +name: Run All Tests + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu + container: adiharif/graphir-dep + + steps: + - uses: actions/checkout@v4 + + - name: Install Git Dependencies + run: git submodule update --init --recursive + + - name: Install NPM Packages + run: npm ci + + - name: Build Project + run: npm run build + + - name: Run Tests + run: npm test