hestia/.github/workflows/pr.yaml
Benjamin Palko a455a71150
Some checks failed
Deployment / Deploy App (push) Failing after 1m27s
Deployment / Deploy Storybook (push) Failing after 4m21s
add docker images and deployment to project
2025-03-31 18:28:06 -04:00

37 lines
925 B
YAML

name: PR Gate
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
checks:
name: Checks
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Bun Setup
uses: oven-sh/setup-bun@v2
with:
bun-version-file: '.tool-versions'
- name: Install
run: bun install
- name: Lint
run: bun lint
- name: Build
run: bun run build
- name: Svelte Check
run: bun check
- name: Prisma Check
run: bun prisma:validate
- name: Test
run: bun run test:unit