LP1840773: Test followup for self-checkout #754
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 ng lint | |
on: | |
push: | |
paths: | |
- 'Open-ILS/src/eg2/**' | |
pull_request: | |
paths: | |
- 'Open-ILS/src/eg2/**' | |
defaults: | |
run: | |
working-directory: Open-ILS/src/eg2 | |
jobs: | |
lint: | |
name: Run Angular linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
cache-dependency-path: Open-ILS/src/eg2/package-lock.json | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
- name: lint | |
run: npx ng lint |