From 3e43733a32842464d0e184b70e352abdf8254e3d Mon Sep 17 00:00:00 2001 From: AZMCode Date: Wed, 19 Aug 2020 07:28:13 -0400 Subject: [PATCH] Added capability of auto-testing on CI --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 34fcb98..9707ff8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,22 @@ name: CI on: ["push"] jobs: + Test: + runs-on: ubuntu-latest + steps: + - name: Checkout Commit + uses: actions/checkout@v2 + + - name: Setup Node.js environment + uses: actions/setup-node@v2.1.1 + + - name: Install Dependencies + run: npm install + + - name: Run Tests + run: npm run test Build: + needs: Test runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: