From 7918f20279ba8960d2839d659d47440cb9eca352 Mon Sep 17 00:00:00 2001 From: Cully Larson Date: Fri, 14 Mar 2025 11:35:55 -0700 Subject: [PATCH] chore: Add CI workflow checks. --- .github/workflows/ecko-checks.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ecko-checks.yml diff --git a/.github/workflows/ecko-checks.yml b/.github/workflows/ecko-checks.yml new file mode 100644 index 0000000..22d84c8 --- /dev/null +++ b/.github/workflows/ecko-checks.yml @@ -0,0 +1,31 @@ +name: Ecko Checks + +on: + pull_request: + +jobs: + check: + name: Checks and tests + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + + - name: Install packages + run: npm ci + + - name: Lint + run: npm run lint + + - name: Typecheck + run: npm run typecheck + + - name: Test + run: npm run test