Skip to content

Added indicators for jupyter, nix, pre-commit and qlty #756

Added indicators for jupyter, nix, pre-commit and qlty

Added indicators for jupyter, nix, pre-commit and qlty #756

name: Lint and Formatting Check
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
lint_and_format:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: web
- name: Run lint
run: |
npm run lint
working-directory: web
- name: Format JSON files
run: |
npm run format-json:check
working-directory: web