From 28deb0e2d4470ae4652d53654c3d9415d1e03c12 Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Fri, 31 Oct 2025 18:26:37 +0000 Subject: [PATCH 1/5] Add bot instruction comment to README This adds a comment to the README instructing bots to read carefully. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue Co-authored-by: Ting-Wai To --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f2e19d7b2cb..3359e7affa8 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ + +

Continue

From 717d6f54e72df0e71a09d3cfa659f68a3c21f382 Mon Sep 17 00:00:00 2001 From: 1Patrik1 <163529643+1Patrik1@users.noreply.github.com> Date: Sun, 5 Apr 2026 21:28:57 +0200 Subject: [PATCH 2/5] Add ESLint and Prettier validation workflow --- .github/workflows/lint.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000000..2518012a3d8 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,28 @@ +name: Lint + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install dependencies + run: | + npm install + + - name: Run ESLint + run: | + npx eslint . + + - name: Run Prettier + run: | + npx prettier --check . \ No newline at end of file From df34771dbcfafb99101c04b346c17e2fb7d9adb4 Mon Sep 17 00:00:00 2001 From: 1Patrik1 <163529643+1Patrik1@users.noreply.github.com> Date: Sun, 5 Apr 2026 21:29:49 +0200 Subject: [PATCH 3/5] Add GitHub Actions workflow for TypeScript type checking --- .github/workflows/type-check.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/type-check.yml diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.yml new file mode 100644 index 00000000000..59376ff5bbb --- /dev/null +++ b/.github/workflows/type-check.yml @@ -0,0 +1 @@ +name: TypeScript Type Checking\n\non:\n push:\n branches:\n - main\n pull_request:\n branches:\n - main\n\njobs:\n type-check:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout repository\n uses: actions/checkout@v2\n \n - name: Setup Node.js\n uses: actions/setup-node@v2\n with:\n node-version: '14'\n \n - name: Install dependencies\n run: |\n npm install\n \n - name: Type Check\n run: |\n npm run type-check\n env:\n CI: true\n \ No newline at end of file From 44cf77740b567caaf56a44d66a2a885b3e3e5909 Mon Sep 17 00:00:00 2001 From: 1Patrik1 <163529643+1Patrik1@users.noreply.github.com> Date: Sun, 5 Apr 2026 21:40:42 +0200 Subject: [PATCH 4/5] Add test workflow --- .github/workflows/test.yml | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000000..55168d59ce3 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,40 @@ +name: Test + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20] + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Install dependencies + run: npm install + + - name: Run tests for core + run: cd core && npm test + continue-on-error: true + + - name: Run tests for binary + run: cd binary && npm test + continue-on-error: true + + - name: Upload coverage reports + uses: codecov/codecov-action@v3 + if: always() \ No newline at end of file From ccef7075acd0d557ab8bbe59e89a9c6a838c426f Mon Sep 17 00:00:00 2001 From: 1Patrik1 <163529643+1Patrik1@users.noreply.github.com> Date: Sun, 5 Apr 2026 21:45:11 +0200 Subject: [PATCH 5/5] Add root ESLint configuration --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 00000000000..86e16c2a0a3 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1 @@ +{ "extends": ".eslintrc.shared.json", "env": { "node": true, "browser": true, "es2021": true }, "parserOptions": { "ecmaVersion": 2021, "sourceType": "module" } } \ No newline at end of file