Skip to content

0.39.0

0.39.0 #214

Workflow file for this run

name: Lint
on: push
jobs:
run-linters:
name: Run Linter checks
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: "**/node_modules"
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Node.js dependencies
run: npm install
- name: Run ESLint and Prettier
uses: wearerequired/lint-action@v2.3.0
env:
CI: true
with:
eslint: true
eslint_extensions: "ts,tsx"
prettier: true
prettier_extensions: "js,ts,tsx,scss"