Merge branch 'current' into revert-6466-revert-6455-add-microbatch-flag #20275
Workflow file for this run
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: Run ESLint Checks | |
on: push | |
jobs: | |
eslint-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.12.0' | |
- name: Cache Node Modules | |
uses: actions/cache@v3 | |
id: cache-node-mods | |
with: | |
path: website/node_modules | |
key: node-modules-cache-v3-${{ hashFiles('**/package.json', '**/package-lock.json') }} | |
- name: Install Packages | |
if: steps.cache-node-mods.outputs.cache-hit != 'true' | |
run: cd website && npm ci | |
- name: Run ESLint | |
run: cd website && npm run lintAll |