From f549385a1c4d51e17d318e160f70fba19f687de3 Mon Sep 17 00:00:00 2001 From: Jose Alberto Delgado Robles Date: Sun, 11 Feb 2024 01:22:23 +0100 Subject: [PATCH] Add test to workflow --- .github/workflows/docker-image.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b16c83a..ebe4ba2 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -12,6 +12,24 @@ env: jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up NodeJS + uses: actions/setup-node@v1 + with: + node-version: 20 + + - name: Install all dependencies + run: npm install + + - name: Run Tests + run: npm test + build: runs-on: ubuntu-latest