I recently created this action and want to lint the typescripts files using the eslint, but I get the error saying that
eslint: command not found.
I am not sure what is wrong here, I need help to fix this issue.
This is my workflow file
name: CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install modules run: yarn - name: Run ESLint run: eslint . --ext .ts,.tsx