Skip to content

7x docs and stability improvements #589

7x docs and stability improvements

7x docs and stability improvements #589

name: "Test API Docs"
on:
- pull_request
jobs:
docs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Check node version
run: node -v
- name: Upgrade npm
run: npm install -g npm@8.5
- name: Check npm version
run: npm -v
- name: Restore npm cache if possible
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-lerna-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-lerna-
- name: Install modules
run: npm install
- name: Build docs
run: npm run build-docs