Skip to content

[UXE-5924] chore: implements lint workflow #14

[UXE-5924] chore: implements lint workflow

[UXE-5924] chore: implements lint workflow #14

Workflow file for this run

name: Run Linters
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- dev
env:
HUSKY: 0
jobs:
eslint:
runs-on: ubuntu-latest
container:
image: node:18-alpine3.18
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install SO Dependencies
run: apk add --no-cache curl bash git
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: yarn ci
- name: Run ESLint
run: yarn lint
- name: Run Prettier Formatting
run: yarn format