Skip to content

Revert to CJS version of NDC now it's available #197

Revert to CJS version of NDC now it's available

Revert to CJS version of NDC now it's available #197

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build & test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, v20.18.1, 22.x, 23.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
check-latest: true
cache: 'npm'
cache-dependency-path: 'package.json'
- run: npm install
- run: npm run build
- run: npm test
env:
NODE_OPTIONS: ${{ matrix.node-version == '22.x' && '--experimental-require-module' || '' }}
- name: Deploy docs
if: github.ref == 'refs/heads/main' && matrix.node-version == 'v20.18.1'
uses: JamesIves/[email protected]
with:
single-commit: true
branch: gh-pages
folder: typedoc