upda/.forgejo/workflows/build.yaml
Varakh 570e454a95
All checks were successful
/ build (pull_request) Successful in 5m54s
feat(db): Drop support for SQLite support (breaking!)
- 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
2024-12-21 15:02:24 +01: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 }}