diff --git a/.github/workflows/frontend-checks.yml b/.github/workflows/frontend-checks.yml index 993b279..eb90bdf 100644 --- a/.github/workflows/frontend-checks.yml +++ b/.github/workflows/frontend-checks.yml @@ -2,34 +2,30 @@ name: Check frontend on: push: - paths: - - '.github/workflows/frontend-checks.yml' - - 'src/**' - - '.eslintrc.json' - - 'package.json' - - 'tsconfig.json' - - 'yarn.lock' + paths-ignore: + - '**.lock' + - '**.rs' + - '**.toml' pull_request: - paths: - - '.github/workflows/frontend-checks.yml' - - 'src/**' - - '.eslintrc.json' - - 'package.json' - - 'tsconfig.json' - - 'yarn.lock' + paths-ignore: + - '**.lock' + - '**.rs' + - '**.toml' concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true jobs: - tsc-eslint-checks: + prettier-tsc-eslint-checks: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Install modules run: yarn + - name: Run prettier + run: yarn prettier --check . - name: Run tsc run: yarn tsc --noEmit - name: Run ESLint