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

34 lines
701 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@v6
- uses: https://github.com/pnpm/action-setup@v1
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