Skip to content

Commit

Permalink
add ci for nodejs instead of docker
Browse files Browse the repository at this point in the history
Signed-off-by: Erick Wendel <[email protected]>
  • Loading branch information
ErickWendel committed Mar 20, 2024
1 parent 0572f00 commit 741a090
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/docker-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

jobs:
build-and-test:
setup-environment:
runs-on: ubuntu-latest

steps:
Expand All @@ -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

0 comments on commit 741a090

Please sign in to comment.