Skip to content

FLUID-6772: resolve horizontal overflow issue #426

FLUID-6772: resolve horizontal overflow issue

FLUID-6772: resolve horizontal overflow issue #426

Workflow file for this run

name: Code linting
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Prepare git
run: git config --global core.autocrlf false
- uses: actions/checkout@v2
- name: Use Node.js 20
uses: actions/setup-node@v1
with:
node-version: 20.x
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v2
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node.js dependencies
run: npm install
- name: Run code linter
run: npm run lint