From 477fa508c423fa73dc741e27f5e924a65486d491 Mon Sep 17 00:00:00 2001 From: Marton Moro Date: Mon, 30 Sep 2024 18:42:31 +0200 Subject: [PATCH] ci: add program tests to ci --- .github/workflows/ci.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f75e87c..ed445ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,6 @@ jobs: run: | npm ci npm run build --if-present - # npm test + npm run test:program env: CI: true diff --git a/package.json b/package.json index 9b512a8..9b1b958 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "watch": "tsc --watch", "format": "prettier --write --ignore-unknown **/*", "extension:dev": "vite build --config browser-extension/vite.config.js --watch", - "extension:build": "vite build --config browser-extension/vite.config.js" + "extension:build": "vite build --config browser-extension/vite.config.js", + "test:program": "node --test --experimental-strip-types tests/program-config.test.ts tests/program.test.ts" }, "devDependencies": { "@types/chrome": "^0.0.272",