From 5bea94b600a5dcd2637bf68b42b1e302cccfbd01 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Sat, 22 Jun 2024 21:33:31 -0700 Subject: [PATCH] ci: Add linting/tests to CI --- .github/workflows/checks.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/checks.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 0000000..d6e758e --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,23 @@ +name: "Standard Checks" + +on: + push: + branches: ["master", "ci"] + +jobs: + check: + timeout-minutes: 10 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: yarn + - name: Check lint rules + run: yarn lint + - name: Run JavaScript Tests + run: yarn test + - name: Run Android Tests + run: | + cd android + ./gradlew test +