Skip to content

Merge pull request #162 from alexbbt/dependabot/npm_and_yarn/thenify-… #411

Merge pull request #162 from alexbbt/dependabot/npm_and_yarn/thenify-…

Merge pull request #162 from alexbbt/dependabot/npm_and_yarn/thenify-… #411

Workflow file for this run

name: Lint
on: push
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 }}"
- run: npm ci
- name: Run linters
uses: samuelmeuli/lint-action@v1
with:
github_token: ${{ secrets.github_token }}
# Enable your linters here
eslint: true
auto_fix: true
- name: Test Build
run: npm run build