Skip to content

New UI

New UI #84

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
editorconfig:
name: Lint with editorconfig
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run eclint
run: |
npx eclint check .
eslint:
name: Lint frontend with eslint
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v2.4.1
with:
package_json_file: src/frontend/package.json
- name: Set up node
uses: actions/setup-node@v4
with:
node-version-file: src/frontend/package.json
cache-dependency-path: src/frontend/pnpm-lock.yaml
cache: 'pnpm'
- name: Install dependencies
working-directory: src/frontend
run: |
pnpm install
- name: Run eslint
uses: sibiraj-s/action-eslint@v3.0.1
with:
working-directory: src/frontend
token: ${{ secrets.GITHUB_TOKEN }}
all-files: true
eslint-args: '--report-unused-disable-directives --max-warnings 0'
annotations: true