This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
Merge pull request #409 from jaylenw/snyk-fix-86112ac73277d1a3f3993d3… #1289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ESLINT | |
# This workflow is triggered on pushes and PRs to this repository | |
on: [push, pull_request] | |
# paths: | |
# - '*' # Run workflow for all paths, later determine to run workflow only on javascript file changes. | |
# Define our jobs | |
jobs: | |
lint: | |
name: Linter # Job name | |
runs-on: ubuntu-20.04 # Run on Ubuntu version 20.04. | |
steps: | |
# This step checks out a copy of your repository. | |
- uses: actions/checkout@v2 | |
# This step adds node setup with version 14 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14.x' | |
- name: Install Dependencies | |
run: npm install | |
- name: Run ESLint | |
run: npm run linter |