Updated Python to 3.12 and Node to 20 #72
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 eslint | |
on: | |
push: | |
paths: | |
- frontend/** | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
cache: "npm" | |
cache-dependency-path: "frontend/package-lock.json" | |
- name: Install dependencies | |
working-directory: "frontend" | |
run: npm ci | |
- name: Lint | |
working-directory: "frontend" | |
run: npm run lint |