Bump postcss from 8.5.8 to 8.5.14 #2433
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: | |
| push: | |
| branches: ['*'] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| HUSKY: 0 | |
| jobs: | |
| lint: | |
| name: Static code analysis | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Biome | |
| uses: biomejs/setup-biome@v2 | |
| - name: Run tests | |
| run: biome lint | |
| typescript: | |
| name: Type checking (React ${{ matrix.react }}) | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| matrix: | |
| react: [18, 19] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Cache Yarn cache | |
| uses: actions/cache@v5 | |
| env: | |
| cache-name: yarn-cache | |
| with: | |
| path: ~/.yarn/berry/cache | |
| key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-${{ env.cache-name }} | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| - name: Install Corepack | |
| run: npm install -g corepack | |
| - name: Install dependencies | |
| run: yarn --immutable | |
| env: | |
| PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true | |
| - name: Override React version | |
| if: ${{ matrix.react == 18 }} | |
| run: | | |
| npm pkg set resolutions.'@types/react'='npm:^18.0.0' | |
| npm pkg set resolutions.'@types/react-dom'='npm:^18.0.0' | |
| yarn config set enableImmutableInstalls false | |
| yarn up react@^18.0.0 react-dom@^18.0.0 | |
| - name: Build package | |
| run: yarn build | |
| - name: Run type checking (React ${{ matrix.react }}) | |
| run: yarn tsc | |
| format: | |
| name: Formatting | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Biome | |
| uses: biomejs/setup-biome@v2 | |
| - name: Run formatting | |
| run: biome format | |
| unit: | |
| name: Unit tests (React ${{ matrix.react }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| react: [18, 19] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Cache Yarn cache | |
| uses: actions/cache@v5 | |
| env: | |
| cache-name: yarn-cache | |
| with: | |
| path: ~/.yarn/berry/cache | |
| key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-${{ env.cache-name }} | |
| - name: Cache ~/.cache/ms-playwright | |
| id: playwright-cache | |
| uses: actions/cache@v5 | |
| env: | |
| cache-name: playwright-cache | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| - name: Install Corepack | |
| run: npm install -g corepack | |
| - name: Install dependencies | |
| run: yarn --immutable | |
| - name: Override React version | |
| if: ${{ matrix.react == 18 }} | |
| run: | | |
| npm pkg set resolutions.'@types/react'='npm:^18.0.0' | |
| npm pkg set resolutions.'@types/react-dom'='npm:^18.0.0' | |
| yarn config set enableImmutableInstalls false | |
| yarn up react@^18.0.0 react-dom@^18.0.0 | |
| - name: Install Playwright browsers | |
| if: steps.playwright-cache.outputs.cache-hit != 'true' | |
| run: yarn workspace react-pdf playwright install chromium-headless-shell | |
| - name: Run unit tests (React ${{ matrix.react }}) | |
| run: yarn unit |