From e8cfb40b2dfacc4adcfaa6ed3ff91c985198bb4e Mon Sep 17 00:00:00 2001 From: Dean Sallinen <7519573+deansallinen@users.noreply.github.com> Date: Mon, 16 Sep 2024 15:19:31 -0700 Subject: [PATCH] ci: add code format check gh action --- .github/workflows/check.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..cce31b7 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,18 @@ +name: Code Checks + +on: + push: + +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 1 + - uses: oven-sh/setup-bun@v2 + - name: Install modules + run: bun install + - name: Run Prettier and ESLint checks + run: bun lint