From 87fce0354164f364142bcd9217ce2ddeac19b215 Mon Sep 17 00:00:00 2001 From: Ritesh Ghosh Date: Sun, 13 Aug 2023 19:23:25 +0530 Subject: ci(tests): added tests workflow --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yml (limited to '.github') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..0493a3e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Run Tests + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + run_tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Setup NodeJS + uses: actions/setup-node@v3 + + - name: Install dependencies + run: npm ci + + - name: Run all tests + run: npm test -- cgit v1.2.3