mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-10 14:22:52 +01:00
* chore: Upgrade Docusaurus from v2 to v3 * chore: Update "Test build" GH workflow * fix: build All markdown is processed as MDX * fix: Broken links
32 lines
688 B
YAML
32 lines
688 B
YAML
# This GitHub Action workflow is made to make sure that we are able to build the documentation site.
|
|
# The build will fail if links etc. are incorrectly linked.
|
|
|
|
name: Test build
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup node env 🏗
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
|
|
- name: Install dependencies 🏗
|
|
run: npm install
|
|
|
|
- name: Build noodl-docs
|
|
run: npm run build
|
|
|
|
- if: github.ref == 'refs/heads/main'
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: noodl-docs
|
|
path: build/
|