fix(dawcore): preserve declared <daw-track> order when decodes finish out of order #904
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build packages | |
| run: pnpm build | |
| - name: Lint and check formatting | |
| run: pnpm lint | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| react-version: [18, 19] | |
| name: Unit Tests (React ${{ matrix.react-version }}) | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Override React version | |
| if: matrix.react-version == 19 | |
| run: | | |
| node -e " | |
| const pkg = require('./package.json'); | |
| pkg.pnpm = pkg.pnpm || {}; | |
| pkg.pnpm.overrides = { | |
| ...pkg.pnpm.overrides, | |
| 'react': '^19.0.0', | |
| 'react-dom': '^19.0.0', | |
| '@types/react': '^19.0.0', | |
| '@types/react-dom': '^19.0.0' | |
| }; | |
| require('fs').writeFileSync('./package.json', JSON.stringify(pkg, null, 2) + '\n'); | |
| " | |
| pnpm install --no-frozen-lockfile | |
| - name: Build packages | |
| run: pnpm build | |
| - name: Run unit tests | |
| run: pnpm test:unit |