Skip to content

Commit

Permalink
Adds a GitHub action workflow to test docker builds, with Listen.dev …
Browse files Browse the repository at this point in the history
…integration
  • Loading branch information
TheHackerDev committed Nov 18, 2024
1 parent e3776b3 commit 46c445d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test-build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test Build Cartograph

on:
push:
branches:
- main
paths-ignore:
- "**/node_modules/**"
- "docs/**"
- "LICENSE"
- "README.md"
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: listendev/action@v0.11
with:
jwt: ${{ secrets.LISTEN_DEV_API_KEY }}
ci: only
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build and run Docker Compose
run: |
docker compose up --build -d
sleep 10
docker compose down

0 comments on commit 46c445d

Please sign in to comment.