From 66cd9bfc61d6f5a0b6eab75982ca7805e7571c22 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Tue, 22 Apr 2025 19:01:27 +0100 Subject: [PATCH] Build and test the Node.js wrapper in CI --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 854114f9..81b13039 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,6 +114,16 @@ jobs: maturin build --target ${{ matrix.target.triple }} --release + - name: Build the Node.js wrapper + working-directory: nodejs + run: | + npm install + npm run build + + - name: Run the Node.js wrapper's tests + working-directory: nodejs + run: npm test + - name: Build the CXX wrapper layer working-directory: cxx run: cargo build --release --target ${{ matrix.target.triple }}