Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

npm: bump @mui/material-nextjs from 5.15.11 to 6.1.1 #56

npm: bump @mui/material-nextjs from 5.15.11 to 6.1.1

npm: bump @mui/material-nextjs from 5.15.11 to 6.1.1 #56

Workflow file for this run

name: Node.js CI
on:
pull_request:
branches:
- main
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: copy-config
run: cp src/configuration/configuration.example.tsx src/configuration/configuration.tsx
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- name: Restore cache
uses: actions/cache@v4
with:
# See here for caching with `yarn` https://github.com/actions/cache/blob/main/examples.md#node---yarn or you can leverage caching with actions/setup-node https://github.com/actions/setup-node
path: |
~/.npm
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- run: npm i
- run: npm ci
- run: npm run build