Creating a test functionality that answers of questions removed when … #4113
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 | |
on: [push, pull_request] | |
jobs: | |
eslint: | |
runs-on: ubuntu-20.04 | |
steps: | |
# Checkout the repo | |
- uses: actions/checkout@v2 | |
# Install Node | |
- uses: actions/setup-node@v2 | |
with: | |
cache: 'yarn' | |
node-version: 18 | |
# Run yarn install for JS dependencies | |
- name: 'Yarn Install' | |
run: yarn install | |
- name: 'Run ESLint' | |
run: yarn run eslint app/javascript/**/*.js --ext .js |