fix: atomic-write generated CSS to fix multi-worker race (#341) #484
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 and test library | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: .bun-version | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Build library | |
| run: bun run build | |
| - name: Check types | |
| run: bun run check:typescript | |
| - name: Check linting | |
| run: bun run lint | |
| - name: Check formatting | |
| run: bun run check:format | |
| - name: Check circular dependencies | |
| run: bun run circular:check | |
| - name: Install Playwright browsers | |
| run: bunx playwright install --with-deps chromium | |
| working-directory: packages/uniwind | |
| - name: Run tests | |
| run: bun run test |