ninelands-reddit/.github/workflows/ci.yaml
Lukas Müllner 4db8c2eadc fix(ci): parallel-Stufe durch einzelne Schritte ersetzen (Forgejo)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:41:52 +01:00

35 lines
948 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Install Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24.18.0
- name: Install Dependencies
run: npm install --no-fund
# Forgejo kennt keine `parallel:`-Stufe ("Invalid run/uses syntax") – Schritte nacheinander
- name: Typecheck
run: npm run test:types
- name: Lint
run: npm run lint
- name: Unit Test
run: npm run test:unit
- name: Build
run: npm run build