diff --git a/.github/workflows/docker-workflow.yml b/.github/workflows/docker-workflow.yml index 099213d..e21917f 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,16 @@ 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 - name: Clean up run: docker-compose down --volumes