upda/.forgejo/workflows/build.yaml
Varakh 3b0603ae17
Some checks failed
/ build (push) Has been cancelled
feat(db): Drop support for SQLite support (breaking!) (#52)
- only Postgres is supported from now on to reduce maintenance
 - enables building main upda server application for all platforms
 - instead of using ORM auto migrate for database schema creation, switch to proper migration framework utilizing flexible steps and plain sql files
 - library updates

Reviewed-on: #52
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-12-21 14:11:13 +00:00

36 lines
903 B
YAML

on:
pull_request:
types: [ opened, synchronize, reopened ]
push:
branches:
- master
env:
IMAGE_TAG: varakh/upda
jobs:
build:
runs-on: docker
container:
image: git.myservermanager.com/msm/executor-ubuntu-build-essential:latest
steps:
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.23'
- name: Checkout
uses: actions/checkout@v3
- name: Test native build
run: |
npm install --global pnpm@^9
make ci
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Test docker image build
uses: docker/build-push-action@v4
with:
push: false
tags: |
${{ env.IMAGE_TAG }}:${{ github.sha }}