From db6365bd8a31ad88f78ad38c14dff5c3ae8c3b4a Mon Sep 17 00:00:00 2001 From: SM8UTI Date: Sat, 7 Mar 2026 09:28:36 +0530 Subject: [PATCH] feat: Add CI workflow for linting, typechecking, and testing, and ignore `ruleset.json`. --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 39 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4b9e050 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI Check + +on: + push: + branches: + - main + - master + pull_request: + branches: + - main + - master + +jobs: + validate: + name: Lint, Typecheck, and Test + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'npm' + + - name: Install Dependencies + run: npm ci + + - name: Run TypeScript Compiler Check + run: npx tsc --noEmit + + - name: Run ESLint + run: npm run lint + + - name: Run Jest Tests + run: npm run test -- --passWithNoTests diff --git a/.gitignore b/.gitignore index 49205ef..05d9140 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .DS_Store .agents skills-lock.json +ruleset.json # Xcode #