fix workflows
Some checks failed
PR Gate / Checks (pull_request) Failing after 28s

This commit is contained in:
Benjamin Palko 2025-04-30 16:54:34 -04:00
parent 8680552208
commit 52df8db3ad
3 changed files with 40 additions and 48 deletions

35
.github/workflows/pr.yml vendored Normal file
View file

@ -0,0 +1,35 @@
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: Test
run: bun run test:unit