Skip to content

chore(deps): update nextjs monorepo to v14.2.2 #692

chore(deps): update nextjs monorepo to v14.2.2

chore(deps): update nextjs monorepo to v14.2.2 #692

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
env:
SKIP_ENV_VALIDATION: true
TURSO_URL: ${{ secrets.TURSO_URL }}
TURSO_AUTH_TOKEN: ${{ secrets.TURSO_AUTH_TOKEN }}
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }}
UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: latest
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Next.js cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-nextjs
- name: Build and test
run: pnpm build