Skip to content

New Post about Next.js app router at Cambly #9

New Post about Next.js app router at Cambly

New Post about Next.js app router at Cambly #9

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'npm'
node-version-file: '.nvmrc'
- run: npm install
- run: npm run build
env:
NODE_OPTIONS: --max-old-space-size=8192
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'npm'
node-version-file: '.nvmrc'
- run: npm install
- run: npx prettier --check .
env:
NODE_OPTIONS: --max-old-space-size=8192