Skip to content

Merge pull request #10 from vendrinc/grahamallan/chore/revert-disjoin… #32

Merge pull request #10 from vendrinc/grahamallan/chore/revert-disjoin…

Merge pull request #10 from vendrinc/grahamallan/chore/revert-disjoin… #32

Workflow file for this run

name: Lint
on:
push:
branches: [ master ]
pull_request_target:
branches: [ master ]
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm
- name: Use Node.js ${{ steps.nvm.outputs.NVMRC }}
uses: actions/setup-node@v1
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Install Node Deps
run: npm ci
- name: Run linters
uses: wearerequired/lint-action@v1
with:
github_token: ${{ secrets.github_token }}
# Enable your linters here
eslint: true