Skip to content

Bump next from 14.2.8 to 14.2.10 in /examples/nextjs #2105

Bump next from 14.2.8 to 14.2.10 in /examples/nextjs

Bump next from 14.2.8 to 14.2.10 in /examples/nextjs #2105

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: mghayes/multi-postgres:v2
ports:
- '5455:5432'
env:
POSTGRES_USER: prisma
POSTGRES_PASSWORD: prisma
POSTGRES_MULTIPLE_DATABASES: tests,drizzle
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
strategy:
matrix:
node: [18, 20, 22]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
run_install: false
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
- name: Setup turbo cache
uses: actions/cache@v3
with:
path: node_modules/.cache
key: turbo-${{ runner.os }}-${{ matrix.node }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run build
run: pnpm run ci