Skip to content

Migrate NeMo Run docs to Fern MDX #2

Migrate NeMo Run docs to Fern MDX

Migrate NeMo Run docs to Fern MDX #2

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Validates Fern docs configuration on pull requests.
name: Fern docs (check)
on:
pull_request:
paths:
- 'docs/fern/**'
- 'docs/**'
- '.github/workflows/fern-docs-ci.yml'
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Install Fern CLI
run: npm install -g fern-api@$(jq -r .version docs/fern/fern.config.json)
- name: Validate Fern configuration
working-directory: ./docs/fern
run: fern check