ci: gate builds on the test suite and automate engine bumps

Runs typecheck and tests on every push and before publishing. A daily
job rebuilds both vendored tarballs from one commit of the engine fork,
verifies a single wasm ends up on disk, and opens a pull request.
This commit is contained in:
alam00000 committed 2026-08-21 12:50:08 +05:30
1 parent aee3e0a65a
commit c72185ed0b
3 files changed
+177 -83

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
name: Tests
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
env:
HUSKY: 0
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npx tsc --noEmit
- name: Run tests
run: npm run test:run