From b67e0992f12ad030b931a068cc2637dd81be1ea7 Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Thu, 23 Mar 2023 01:02:00 -0600 Subject: [PATCH] Add back frontend-checks --- .github/workflows/frontend-checks.yml | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/frontend-checks.yml diff --git a/.github/workflows/frontend-checks.yml b/.github/workflows/frontend-checks.yml new file mode 100644 index 0000000..eb90bdf --- /dev/null +++ b/.github/workflows/frontend-checks.yml @@ -0,0 +1,32 @@ +name: Check frontend + +on: + push: + paths-ignore: + - '**.lock' + - '**.rs' + - '**.toml' + pull_request: + paths-ignore: + - '**.lock' + - '**.rs' + - '**.toml' + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + 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 + run: yarn eslint src