From 741a09033a10655d05635f25177683bfabdaf675 Mon Sep 17 00:00:00 2001 From: Erick Wendel Date: Wed, 20 Mar 2024 15:01:54 -0500 Subject: [PATCH] add ci for nodejs instead of docker Signed-off-by: Erick Wendel --- .github/workflows/docker-workflow.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-workflow.yml b/.github/workflows/docker-workflow.yml index 099213d..3b5b0a4 100644 --- a/.github/workflows/docker-workflow.yml +++ b/.github/workflows/docker-workflow.yml @@ -6,7 +6,7 @@ on: - main jobs: - build-and-test: + setup-environment: runs-on: ubuntu-latest steps: @@ -23,8 +23,17 @@ jobs: - name: Start localstack run: docker-compose up -d localstack - - name: Run tests - run: docker-compose up --build test + run-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: npm ci + - run: npm test + clean-up: - name: Clean up run: docker-compose down --volumes