Skip to content

Bump @types/node from 20.8.0 to 20.8.7 #94

Bump @types/node from 20.8.0 to 20.8.7

Bump @types/node from 20.8.0 to 20.8.7 #94

Workflow file for this run

name: "Build"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
cache: npm
cache-dependency-path: package-lock.json
- name: Restore cache
uses: actions/cache@v3
with:
path: |
.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install dependencies
run: npm ci
- name: Test
run: npm t
- name: Build with Next.js
run: npx next build