Skip to content

Fixed codestyle workflow #232

Fixed codestyle workflow

Fixed codestyle workflow #232

Workflow file for this run

name: Code Style
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
code-style:
runs-on: ubuntu-latest
name: code-style
steps:
- name: Code Checkout
uses: actions/checkout@v3
- name: Setup deps
uses: ./.github/actions/install-deps
- name: Run prettier in all files
run: pnpm exec prettier . --check --ignore-unknown
- name: Run stylelint in scss files
run: pnpm exec stylelint . --allow-empty-input
- name: Run eslint in code files
run: pnpm exec eslint . --report-unused-disable-directives --max-warnings 0