School Edit Page now prevents user from editing the Abbrev param #150
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: "36-frontend-eslint: JavaScript style checking" | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: [frontend/**, .github/workflows/36-frontend-eslint.yml] | |
push: | |
branches: [main] | |
paths: [frontend/**, .github/workflows/36-frontend-eslint.yml] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: szenius/set-timezone@v1.2 | |
with: | |
timezoneLinux: "America/Los_Angeles" | |
- uses: actions/checkout@v3.5.2 | |
with: | |
fetch-depth: 2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3.6.0 | |
with: | |
node-version-file: 'frontend/package.json' | |
cache: 'npm' | |
cache-dependency-path: frontend/package-lock.json | |
- run: npm ci | |
working-directory: ./frontend | |
- run: npx eslint --max-warnings 0 . | |
working-directory: ./frontend |