Merge pull request #1833 from depositar/provider-ckan #396
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
# Lints the binderhub/static/js folders content with eslint, influenced by | |
# ".eslintrc.js", by running "npm run lint" where "lint" is a command defined in | |
# package.json. | |
# | |
name: eslint | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/eslint.yml" | |
- ".eslintrc.js" | |
- "package.json" | |
- "binderhub/static/js/**" | |
- "js/**" | |
push: | |
paths: | |
- ".github/workflows/eslint.yml" | |
- ".eslintrc.js" | |
- "package.json" | |
- "binderhub/static/js/**" | |
- "js/**" | |
branches-ignore: | |
- "dependabot/**" | |
- "pre-commit-ci-update-config" | |
- "update-*" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm install | |
- run: npm run lint |