feat(hermes): add provider onboarding foundation #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: legacy-path-guard | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| jobs: | |
| guard-migrated-paths: | |
| name: block edits to migrated legacy paths and removed shims | |
| if: ${{ github.base_ref == 'main' && !startsWith(github.head_ref, 'ts-migration/') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Install root dependencies | |
| run: npm install --ignore-scripts | |
| - name: Fetch base branch | |
| run: git fetch origin "${{ github.base_ref }}" | |
| - name: Guard migrated legacy paths | |
| run: npm run ts-migration:guard -- --base "origin/${{ github.base_ref }}" --head HEAD |