fix(deps): update dependency @portabletext/react to ^3.2.4 #175
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: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read # for checkout | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Lint & Build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| cache: pnpm | |
| node-version: lts/* | |
| - run: pnpm install | |
| - run: pnpm type-check | |
| - run: pnpm lint | |
| - run: pnpm build | |
| test: | |
| runs-on: ${{ matrix.platform }} | |
| name: Node.js ${{ matrix.node-version }} / ${{ matrix.platform }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [macos-latest] # Temporarily only macOS | |
| # platform: [macos-latest, ubuntu-latest, windows-latest] | |
| node-version: [lts/*] | |
| # include: | |
| # - platform: ubuntu-latest | |
| # node-version: current | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| cache: pnpm | |
| node-version: ${{ matrix.node-version }} | |
| - run: pnpm install | |
| - run: pnpm test | |
| # 📎 Upload PDFs/diffs only if tests fail | |
| - name: Upload failed test artifacts | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: failed-pdf-diffs-${{ matrix.platform }} | |
| path: | | |
| test/__snapshots__/**/*.diff.* | |
| test/__snapshots__/**/*.new.* |