fix unit test set-up and CI workflow (#3154)

* Fix unit test set-up

* run tests on CI

* update failing tests

* Update node

Update the coverage job node version
This commit is contained in:
Tomás Barreiro
2025-04-28 16:30:40 -07:00
committed by GitHub
parent df7f9fcba4
commit b8e2fd669d
5 changed files with 41 additions and 22 deletions
+4 -5
View File
@@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.15.1
node-version: 22
# Setup Python for coverage script
- name: Setup Python
@@ -73,9 +73,8 @@ jobs:
- name: Build Extension
run: npm run compile
# Disabling due to compatability with test framework and ESM modules
# - name: Unit Tests
# run: npm run test:unit
- name: Unit Tests
run: npm run test:unit
# Run extension tests with coverage
- name: Extension Tests with Coverage
@@ -132,7 +131,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.15.1
node-version: 22
# Cache root dependencies - only reuse if package-lock.json exactly matches
- name: Cache root dependencies