chore(deps): update non-major #1551
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@v7 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| cache: pnpm | |
| node-version: lts/* | |
| - run: pnpm install | |
| - run: pnpm lint -f github | |
| - run: pnpm build | |
| test-next: | |
| runs-on: ubuntu-latest | |
| name: Next.js RSC integration | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| cache: pnpm | |
| node-version: lts/* | |
| - run: pnpm install | |
| # Packs the library with `pnpm pack`, installs the tarball into test/next-app (a | |
| # next@preview app) and asserts a pure RSC route and a 'use client' route both render | |
| - run: pnpm test:next | |
| test: | |
| runs-on: ${{ matrix.platform }} | |
| name: Node.js ${{ matrix.node-version }} / ${{ matrix.platform }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [macos-latest, ubuntu-latest, windows-latest] | |
| node-version: [lts/*] | |
| include: | |
| - platform: ubuntu-latest | |
| node-version: current | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| cache: pnpm | |
| node-version: ${{ matrix.node-version }} | |
| - run: pnpm install | |
| - run: pnpm test |