Skip to content

Bump @types/react from 18.2.58 to 18.2.73 #290

Bump @types/react from 18.2.58 to 18.2.73

Bump @types/react from 18.2.58 to 18.2.73 #290

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: "20"
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