benjaminpalko/.forgejo/workflows/pr.yml
Benjamin Palko 897b10d229
Some checks failed
PR Gate / Checks (pull_request) Failing after 45s
fix action version
2026-08-11 16:17:00 -04:00

34 lines
675 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
- uses: pnpm/setup@v2
with:
version: 11
runtime: node@24
cache: true
- name: Lint
run: pnpm lint
- name: Svelte Check
run: pnpm check
- name: Test
run: pnpm run test:unit
- name: Build
run: pnpm run build