Skip to content

chore(deps): update dependency lint-staged to v15.2.10 #5343

chore(deps): update dependency lint-staged to v15.2.10

chore(deps): update dependency lint-staged to v15.2.10 #5343

Workflow file for this run

name: Format
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit == 'false' }}
name: List the state of node modules
continue-on-error: true
run: npm list
# FIXME: Remove the `--legacy-peer-deps` flag once all dependencies are updated
- run: npm ci --legacy-peer-deps
- run: npm run format