Skip to content

[deployment] Add build action on PRs #6

[deployment] Add build action on PRs

[deployment] Add build action on PRs #6

Workflow file for this run

name: Build Next.js app
on:
pull_request:
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