Skip to content

Update nextjs.yml

Update nextjs.yml #16

Workflow file for this run

name: Build Next.js app
on:
pull_request:
env:
NEXT_PUBLIC_BASE_PATH: /${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Cache
uses: jongwooo/next-cache@v1
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Build Next.js app
run: npm run build