From 55439e2c284eb2463a5864c406798712750b31a8 Mon Sep 17 00:00:00 2001 From: Marius Hagen Date: Sun, 20 Aug 2023 21:56:23 +0200 Subject: [PATCH] added actions --- .github/workflows/unit-test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/unit-test.yml diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml new file mode 100644 index 0000000000..82d8811f3d --- /dev/null +++ b/.github/workflows/unit-test.yml @@ -0,0 +1,24 @@ +name: Automated Unit Testing +on: + - pull_request + - workflow_dispatch + +jobs: + run-unit-tests: + name: Run Unit Tests + runs-on: ubuntu-latest + + steps: + - name: Checkout under $GITHUB_WORKSPACE + uses: actions/checkout@main + + - name: Set up NodeJS + uses: actions/setup-node@v1 + with: + node-version: 16 + + - name: Install all dependencies + run: npm install + + - name: Run Tests + run: npm run test-unit \ No newline at end of file