Open first search entry on enter key #1386
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: | |
| env: | |
| CI: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: "pnpm" | |
| - name: Install packages | |
| run: pnpm install --frozen-lockfile | |
| - name: Build Contentlayer | |
| run: | | |
| pnpm contentlayer build 2>&1 | tee build.log | |
| if grep -q "Warning: Found .* problems" build.log; then | |
| echo "Contentlayer build produced warnings. Failing build." | |
| exit 1 | |
| fi | |
| - name: Build Next.js | |
| run: pnpm next build |