Release 1.0.16 #172
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: documentation | |
| # Validates that the docs site still builds. Deployment lives in | |
| # main-docs.yml, which publishes to gh-pages using the automatic | |
| # GITHUB_TOKEN and needs no configured secret. | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| # Docusaurus 3 requires Node >= 20 | |
| node-version: '20.x' | |
| - name: Test Build | |
| run: | | |
| cd docs | |
| if [ -e yarn.lock ]; then | |
| yarn install --frozen-lockfile | |
| elif [ -e package-lock.json ]; then | |
| npm ci | |
| else | |
| npm i | |
| fi | |
| npm run build |