[ECO-1871] Add Docusaurus skeleton #5
Workflow file for this run
This file contains 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
--- | |
jobs: | |
test-deploy: | |
defaults: | |
run: | |
working-directory: 'doc/doc-site' | |
name: 'Test docs site build' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- | |
uses: 'actions/checkout@v3' | |
- | |
name: 'Install Node.js' | |
uses: 'actions/setup-node@v3' | |
with: | |
node-version: 20 | |
- | |
id: 'pnpm-install' | |
name: 'Install pnpm' | |
uses: 'pnpm/action-setup@v2' | |
with: | |
run_install: false | |
version: '9.1.2' | |
- | |
name: 'Install dependencies' | |
run: 'pnpm install --frozen-lockfile' | |
- | |
name: 'Build Docusaurus page' | |
run: 'pnpm build' | |
name: 'Build docs site' | |
'on': | |
pull_request: | |
branches: | |
- 'main' | |
paths: | |
- 'doc/doc-site/**' | |
- '.github/workflows/deploy-doc-site.yml' | |
workflow_dispatch: null | |
... |