Skip to content

Merge pull request #550 from chris48s/dependabot/npm_and_yarn/c8-10.1.3 #278

Merge pull request #550 from chris48s/dependabot/npm_and_yarn/c8-10.1.3

Merge pull request #550 from chris48s/dependabot/npm_and_yarn/c8-10.1.3 #278

Workflow file for this run

name: Build Docs
on: [push, pull_request]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node JS 22
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install
run: |
cd docs
npm ci --engine-strict --strict-peer-deps
- name: Build
run: |
cd docs
npm run build
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/build
clean: true