MWPW-140452 - Icon authoring in milo using the federal repo and individual SVG assets #7685
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: Lint | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- '**.js' | |
jobs: | |
run-lint: | |
name: Running eslint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run eslint on changed files | |
uses: tj-actions/eslint-changed-files@v25 | |
with: | |
config_path: ".eslintrc.js" | |
# ignore_path: "/path/to/.eslintignore" | |
# extra_args: "--max-warnings=0" |