Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

New 2024 Docs

New 2024 Docs #107

Workflow file for this run

name: Documentation tests
on:
pull_request:
jobs:
docs-tests:
runs-on: ${{ matrix.os }}
env:
TERM: xterm
strategy:
matrix:
os:
- ubuntu-20.04
node-version:
- '16'
steps:
# Install deps and cache
# Eventually it would be great if these steps could live in a separate YAML file
# that could be included in line to avoid code duplication
- name: Checkout code
uses: actions/checkout@v3
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install Yarn dependencies
run: yarn install --prefer-offline --frozen-lockfile
# Run doc tests
- name: Lint docs code
run: yarn lint
- name: Build Docs
run: yarn build