Skip to content

test: Add a proper test and add it to cI #6

test: Add a proper test and add it to cI

test: Add a proper test and add it to cI #6

Workflow file for this run

# SPDX-License-Identifier: MIT
# CI that builds this nodejs module
name: ci
on:
pull_request:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install dependencies
run: npm install
- name: tsc
run: tsc
- name: Build Qt test
run: |
cmake --preset=dev -S test/qt_test/
cmake --build test/qt_test/build-dev/
- name: Run test
run: node out/test.js