Skip to content

Housekeeping of GitHub workflows #4

Housekeeping of GitHub workflows

Housekeeping of GitHub workflows #4

name: "CI - Docusaurus"
on:
pull_request:
push:
branches: [ main ]
permissions:
contents: read
jobs:
docusaurus-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: '.nvmrc'
cache: npm
- name: Install Docusaurus
run: |
npm install
- name: Run Docusaurus build to generate HTML
run: |
npm run docusaurus build