Skip to content

Commit

Permalink
create GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
janishar committed Dec 22, 2022
1 parent 341ad9c commit 68103bd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docker_compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Docker Compose CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build docker images
run: docker-compose build -d
- name: Enter node app container
run: docker exec -it app bash
- name: Run tests
run: npm test

0 comments on commit 68103bd

Please sign in to comment.