Merge pull request #1009 from texas-justice-initiative/cms/pages/inte… #2634
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: | |
build: | |
if: ${{ !startsWith(github.head_ref, 'cms/') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 16.18.1 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.18.1 | |
- name: npm run lint | |
run: | | |
npm install --legacy-peer-deps | |
npm run lint | |
env: | |
CI: true |