Skip to content

Bump eslint-plugin-import from 2.24.1 to 2.29.1 #62

Bump eslint-plugin-import from 2.24.1 to 2.29.1

Bump eslint-plugin-import from 2.24.1 to 2.29.1 #62

Workflow file for this run

name: Code quality
on: pull_request
jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.5
- name: Cache dependencies
uses: actions/cache@v2.1.6
with:
path: ./.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Setup Node.js
uses: actions/setup-node@v2.4.0
with:
node-version: '16.x'
- name: Install npm dependencies
run: npm ci --prefer-offline --cache=./.npm
- name: Lint with ESLint
run: npx eslint . --max-warnings 0
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.5
- name: Cache dependencies
uses: actions/cache@v2.1.6
with:
path: ./.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Setup Node.js
uses: actions/setup-node@v2.4.0
with:
node-version: '16.x'
- name: Install npm dependencies
run: npm ci --prefer-offline --cache=./.npm
- name: Lint with ESLint
run: npx prettier --check .