Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1 KB

README.md

File metadata and controls

45 lines (37 loc) · 1 KB

action-eslint

TypeScript/JavaScript ESLint action

Usage

.github/workflows/lint.yml

on:
  push:
  pull_request:

jobs:
  eslint:
    name: eslint
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: install node v12
      uses: actions/setup-node@v1
      with:
        node-version: 12
    - name: yarn install
      run: yarn install
    - name: eslint
      uses: icrawl/action-eslint@v1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        job-name: eslint

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

action-eslint © iCrawl
Authored and maintained by iCrawl.

GitHub @iCrawl · Twitter @iCrawlToGo