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

31 lines
693 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"
working-directory: backend
run: goreleaser release --snapshot --clean --skip-publish