From 0a84ad159503a44786723920d2db2aac08bc5d5e Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Mon, 5 Jan 2026 12:10:29 +0100 Subject: [PATCH] chore: add GitHub Actions workflow for linting frontend, backend, and documentation --- .gitea/workflows/lint.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .gitea/workflows/lint.yml diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml new file mode 100644 index 0000000..9ddaaae --- /dev/null +++ b/.gitea/workflows/lint.yml @@ -0,0 +1,36 @@ +name: Lint +on: + push: + paths: + - 'frontend/**' + - 'backend/**' + - 'documentation/**' + pull_request: + paths: + - 'frontend/**' + - 'backend/**' + - 'documentation/**' + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + - name: Lint Frontend + if: success() || failure() + run: pnpm -F @memegoat/frontend lint + - name: Lint Backend + if: success() || failure() + run: pnpm -F @memegoat/backend lint + - name: Lint Documentation + if: success() || failure() + run: pnpm -F @bypass/documentation lint