This repository was archived by the owner on Jul 26, 2025. It is now read-only.
test: fix encodeBmp equality checks (#489) #443
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Typedoc | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
NODE_VERSION: 22.x | |
ENTRY_FILE: 'src/index.ts' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install dependencies | |
run: npm install | |
- name: Build documentation | |
uses: zakodium/typedoc-action@v2 | |
with: | |
entry: ${{ env.ENTRY_FILE }} | |
name: ImageJS | |
treatWarningsAsErrors: ${{ github.ref != 'refs/heads/main' }} | |
- name: Deploy to GitHub pages | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/github-pages-deploy-action@releases/v4 | |
with: | |
token: ${{ secrets.BOT_TOKEN }} | |
branch: gh-pages | |
folder: docs | |
clean: true |