Skip to content

chore(deps): update actions/setup-node action to v4 #642

chore(deps): update actions/setup-node action to v4

chore(deps): update actions/setup-node action to v4 #642

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@v4
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 .