Skip to content

Grant/bru-1059

Grant/bru-1059 #62

Workflow file for this run

name: Backend lint
on:
pull_request:
workflow_dispatch:
jobs:
prettier:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Yarn cache directory
uses: actions/cache@v2
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "18.x"
- name: Install dependencies
run: yarn install
- name: Run lint check
run: yarn lint