Skip to content

Bump next from 13.5.6 to 15.0.2 #1011

Bump next from 13.5.6 to 15.0.2

Bump next from 13.5.6 to 15.0.2 #1011

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
NEXT_TELEMETRY_DISABLED: 1 # https://nextjs.org/telemetry
steps:
- uses: actions/checkout@v2
with:
submodules: true
ssh-key: '${{ secrets.ARCHIVES_DEPLOY_KEY }}'
- uses: actions/setup-node@v1
with:
node-version: '16'
- uses: actions/cache@v2
with: # https://github.com/actions/cache/blob/main/examples.md#node---npm
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- uses: actions/cache@v2
with: # https://nextjs.org/docs/messages/no-cache#github-actions
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run build --if-present