Fix output order execution #1225
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: Build | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| branches: | |
| - '*' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Run build on ${{ matrix.os }} - Node ${{ matrix.node-version }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| node-version: ['22', '24'] | |
| # os: [ubuntu-latest, windows-latest, macos-latest] | |
| env: | |
| # Increase Node.js heap size for large builds (embed package bundles all deps) | |
| NODE_OPTIONS: '--max-old-space-size=8192' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install the npm dependencies | |
| run: | | |
| npm install | |
| - name: Run the build | |
| run: | | |
| npm run build | |
| - name: Build with Vite | |
| run: | | |
| cd packages/react && npm run build:vite |