Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
create GitHub action
  • Loading branch information
janishar committed Dec 22, 2022
commit 68103bdf07fd717add0cb0fd8afd6815cde801dc
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