feat(ecg): ECG Next Viewport Enhancements #1687
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: Docusaurus Build | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| env: | |
| ACTIONS_STEP_DEBUG: true | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| docusaurus-build: | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6.0.3 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6.0.8 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6.4.0 | |
| with: | |
| node-version: '24.15.0' | |
| cache: 'pnpm' | |
| - name: Install root dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build packages in ESM format | |
| run: pnpm run build:esm | |
| - name: Build Docusaurus documentation | |
| run: pnpm --filter docs run build:ci | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=32384 | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v7.0.1 | |
| if: always() | |
| with: | |
| name: docusaurus-build-${{ github.sha }} | |
| path: packages/docs/build/ | |
| retention-days: 7 |