From 48f90be39c350dc84d9e2b5313078db8ac1bbb97 Mon Sep 17 00:00:00 2001 From: Dharmesh Sharma <47482315+thedevhack@users.noreply.github.com> Date: Mon, 30 Dec 2024 22:43:48 +0530 Subject: [PATCH] ci.yml --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..d8822702 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: Run Tests on PRs + +on: + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Setup Node-JS + uses: actions/setup-node@v3 + with: + node-version: '16' + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm run test-all