redoc/.github/workflows/unit-tests.yml
2025-12-16 16:07:03 +02:00

26 lines
577 B
YAML

name: Unit Tests
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build-and-unit:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 24.11.1
cache: 'npm'
- name: Install Dependencies
run: npm ci --ignore-scripts --no-fund
- name: Run unit tests
run: npm run unit