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

37 lines
778 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: actions/setup-node@v4
with:
node-version: 24
- 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