Skip to content

Fix build badge URL #183

Fix build badge URL

Fix build badge URL #183

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build & test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x, v20.8.0, '*']
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
- name: Deploy docs
if: github.ref == 'refs/heads/main' && matrix.node-version == 'v20.8.0'
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
single-commit: true
branch: gh-pages
folder: typedoc