PTL-1767: check changes in code for Presentation examples #4749
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
name: Build | |
# Triggered on PRs against main branches | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.11.0] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm ci --loglevel=error --no-update-notifier | |
- name: Build Docusaurus and check for broken links | |
run: npm run build | |
env: | |
BRANCH: ${{ github.base_ref }} | |
BASE_URL: /docs/ | |
NODE_OPTIONS: "--max-old-space-size=8192" |