Skip to content

fix(deps): update dependency date-fns to v4 #2839

fix(deps): update dependency date-fns to v4

fix(deps): update dependency date-fns to v4 #2839

Workflow file for this run

name: Node.js CI
on:
pull_request:
push:
branches:
- master
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
runs-on: ubuntu-latest
name: Node.js ${{ matrix.node-version }} - ${{ matrix.storageType }}
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v6
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules and Next.js build cache
uses: actions/cache@v5
with:
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', '**/*.mdx') }}
# If source files changed but packages didn't, rebuild from a prior cache
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- run: npm ci
- run: npm test