homebox/.github/workflows/pull-requests.yaml

32 lines
693 B
YAML
Raw Normal View History

2022-09-09 21:14:31 +00:00
name: Pull Request CI
on:
pull_request:
branches:
- main
jobs:
backend-tests:
name: "Backend Server Tests"
uses: ./.github/workflows/partial-backend.yaml
2022-09-09 21:14:31 +00:00
frontend-tests:
name: "Frontend and End-to-End Tests"
uses: ./.github/workflows/partial-frontend.yaml
2023-03-22 17:03:19 +00:00
releaser:
name: "Cross Compile and Release"
runs-on: ubuntu-latest
container:
2023-03-22 17:05:21 +00:00
image: ghcr.io/goreleaser/goreleaser-cross:v1.20.2
2023-03-22 17:03:19 +00:00
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Cross Compile and Release"
2023-03-22 17:11:19 +00:00
working-directory: backend
2023-03-22 17:08:09 +00:00
run: goreleaser release --snapshot --clean --skip-publish