Skip to content

chore(deps-dev): update dependency lint-staged to v15 #657

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

chore(deps-dev): update dependency lint-staged to v15 #657

Workflow file for this run

name: Format review
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
review:
name: Review formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Restore CI Cache
uses: actions/cache@v3
id: cache
with:
path: node_modules
key: ${{ runner.os }}-16-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
if: ${{ !steps.cache.outputs.cache-hit }}
run: yarn --frozen-lockfile
- name: Run ESLint
run: yarn eslint src --ext js
- name: Run Prettier
run: yarn prettier --check .