From e9e432ddd881e7d2893c53fcec7a1609eb39ea2c Mon Sep 17 00:00:00 2001 From: Saurav Kumar Date: Wed, 23 Sep 2026 12:06:04 +0530 Subject: [PATCH] ci: add minimal GitHub Actions test matrix Additive only: ubuntu + windows, Node 20/22, Python 3.10-3.12. Runs tsc, mocha suite, and high-severity audit gate. AppVeyor untouched; no existing file modified. --- .github/workflows/test.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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 0000000..8f40f7f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,30 @@ +name: test + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest] + node-version: [20, 22] + python-version: ['3.10', '3.11', '3.12'] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: npm + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - run: npm ci + - run: npx tsc -p ./ + - run: npx mocha -r ts-node/register + - run: npm audit --audit-level=high