Skip to content

Open first search entry on enter key #1386

Open first search entry on enter key

Open first search entry on enter key #1386

Workflow file for this run

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