Skip to content

Build main

Build main #169

Workflow file for this run

name: "Build"
run-name: "Build ${{ github.ref_name }}"
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
name: Build
env:
PLATFORM: linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node 18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: make install build
- name: Test frontend
run: make test
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Test Docker build
run: |
make build-docker
make run-docker
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
directory: ./_build/coverage