Merge pull request #1048 from Esri/dependabot-updates #1891
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: Linting | |
on: | |
push: | |
branches: [ develop, master ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ develop, master ] | |
jobs: | |
analyze: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install Node.js dependencies | |
run: npm ci --ignore-scripts | |
- name: Lint | |
shell: bash | |
run: | | |
npx eslint --ext .ts,.tsx src/components src/utils | |