Skip to content

Add option to run eslint command with npx (#15) #105

Add option to run eslint command with npx (#15)

Add option to run eslint command with npx (#15) #105

Workflow file for this run

name: Lint
env:
NODE_VERSION: 18
on:
pull_request:
push:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- run: npm ci
- run: npm ls --depth=0
- uses: ./
with:
extensions: 'js,ts'
ignore-patterns: dist/