homebox/.github/workflows/pull-requests.yaml
2023-03-22 09:08:09 -08:00

30 lines
658 B
YAML

name: Pull Request CI
on:
pull_request:
branches:
- main
jobs:
backend-tests:
name: "Backend Server Tests"
uses: ./.github/workflows/partial-backend.yaml
frontend-tests:
name: "Frontend and End-to-End Tests"
uses: ./.github/workflows/partial-frontend.yaml
releaser:
name: "Cross Compile and Release"
runs-on: ubuntu-latest
container:
image: ghcr.io/goreleaser/goreleaser-cross:v1.20.2
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Cross Compile and Release"
run: goreleaser release --snapshot --clean --skip-publish