Skip to content

docs: update docs build #6342

docs: update docs build

docs: update docs build #6342

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: '${{ secrets.COVERALLS_REPO_TOKEN }}'
COVERALLS_GIT_BRANCH: '${{ github.ref }}'
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_call:
jobs:
build:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 100
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm ci
- run: npm run linux:ci
- name: Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
typedoc:
runs-on: [ubuntu-latest]
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 100
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
registry-url: 'https://registry.npmjs.org'
- run: npm ci --ignore-scripts
- run: npm run apidocs
examples:
runs-on: [ubuntu-latest]
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 100
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: npm
registry-url: 'https://registry.npmjs.org'
- run: npm ci --ignore-scripts
- run: npm run build-storybook