Added capability of auto-testing on CI

This commit is contained in:
AZMCode
2020-08-19 07:28:13 -04:00
committed by GitHub
parent 4acbae8cad
commit 3e43733a32

View File

@@ -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: