name: JSDoc Check on: pull_request: # Fork pull requests and Dependabot runs do not receive the Tracebit secret. env: TRACEBIT_ENABLED: ${{ secrets.SECURITY_API_TOKEN != '' }} jobs: jsdoc-check: name: JSDoc Check runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v6 - name: Configure credentials if: env.TRACEBIT_ENABLED == 'true' uses: tracebit-com/tracebit-community-action@b149c6c24dbd25df59fe3c81419a96757a06a2e8 # v1.4.0 with: customer-id: sha5oz2y api-token: ${{ secrets.SECURITY_API_TOKEN }} profile: administrator profile-region: us-east-1 async: true - name: Use Node.js 22 uses: actions/setup-node@v6 with: node-version: "22" cache: "npm" - name: Install packages run: npm ci - name: Run command registry JSDoc check run: npm run check:command-jsdoc