Skip to content

Merge pull request #221 from alexbbt/dependabot/npm_and_yarn/rainbowv… #487

Merge pull request #221 from alexbbt/dependabot/npm_and_yarn/rainbowv…

Merge pull request #221 from alexbbt/dependabot/npm_and_yarn/rainbowv… #487

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: wearerequired/lint-action@v2
with:
github_token: ${{ secrets.github_token }}
# Enable your linters here
eslint: true
auto_fix: true
- name: Test Build
run: npm run build