Add support for workerUrl (multithreading) #64
Workflow file for this run
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: Validate Documentation | |
on: | |
# Run when a push or pull request contains changes in the documentation directory. | |
push: | |
branches-ignore: | |
- main | |
paths: | |
- documentation/** | |
pull_request: | |
paths: | |
- documentation/** | |
jobs: | |
main: | |
name: Validate Documentation | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Setup Node | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 16 | |
registry-url: https://registry.npmjs.org | |
# Cache Node Module Dependencies | |
- name: Cache Node Module Dependencies | |
uses: actions/cache@v2 | |
with: | |
path: "documentation/node_modules" | |
key: nodemodules-${{ runner.os }}-${{ hashFiles('documentation/package-lock.json') }} | |
# Install Dependencies | |
- name: Install Dependencies | |
working-directory: documentation | |
run: npm install | |
# Build Docusaurus | |
- name: Build Docusaurus | |
working-directory: documentation | |
run: npm run build |