Skip to content

Commit

Permalink
add ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
catatsuy committed Feb 4, 2024
1 parent 84db69b commit f994e55
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push]

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

steps:
- uses: actions/checkout@v2

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

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Initialize the project
run: make init

- name: Start the server
run: |
cd webapp
docker compose up -d

0 comments on commit f994e55

Please sign in to comment.