Skip to content

Fix validate-jsdoc-codeblocks rule to run diagnostics using latest file contents #3483

Fix validate-jsdoc-codeblocks rule to run diagnostics using latest file contents

Fix validate-jsdoc-codeblocks rule to run diagnostics using latest file contents #3483

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 24
- 22
- 20
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
types:
name: TypeScript ${{ matrix.typescript-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
typescript-version:
- 'latest'
- '~5.9.0'
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 24
- run: npm install
- run: npm install typescript@${{ matrix.typescript-version }}
- run: NODE_OPTIONS="--max-old-space-size=5120" npx tsc