From d0a24a8189d3449802faba8524358c080d5d6b74 Mon Sep 17 00:00:00 2001 From: MrKaplan <169855803+MrKaplan-lw@users.noreply.github.com> Date: Mon, 12 Aug 2024 23:21:14 +0200 Subject: [PATCH] Add GHA tests --- .github/workflows/test.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000000..193f9f6b77 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,21 @@ +# This workflow loosely replicates the logic in .woodpecker.yml +name: Run Lemmy tests +on: + push: + branches: + - lw-0.* + - lw-test +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + show-progress: "false" + + - name: Prettier + uses: docker://tmknom/prettier:3.0.0 + with: + args: prettier -c . '!**/volumes' '!**/dist' '!target' '!**/translations'