Skip to content

feat: Implement eslint for github actions #18

feat: Implement eslint for github actions

feat: Implement eslint for github actions #18

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org
name: ESLint
on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
jobs:
eslint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npx eslint --fix . --ext .ts,.tsx
continue-on-error: true