From d8ddd2e49aaa5d126d84005eb8de88bd6545c7e4 Mon Sep 17 00:00:00 2001 From: alexesprit Date: Sun, 12 Apr 2020 14:34:43 +0300 Subject: [PATCH] Add workflow to run ESLint --- .github/workflows/lint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..0767ad0 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint +on: + push: + branches: [master] + pull_request: + types: [opened, synchronize] +jobs: + lint: + name: Run ESLint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '12.x' + - run: npm install + - run: npm run lint