diff --git a/.github/workflows/html-app-branch_and_pr_build.yml b/.github/workflows/html-app-branch_and_pr_build.yml
index c6c78d61..cadb0ffd 100644
--- a/.github/workflows/html-app-branch_and_pr_build.yml
+++ b/.github/workflows/html-app-branch_and_pr_build.yml
@@ -12,11 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install
- run: yarn install
+ run: npm install
- name: Build
- run: yarn build
+ run: npm run build
- name: Test
- run: yarn test
+ run: npm run test
# Sample CI for react apps
react:
defaults:
diff --git a/legacy/karma.conf.js b/legacy/karma.conf.js
index d5f06567..059b8104 100644
--- a/legacy/karma.conf.js
+++ b/legacy/karma.conf.js
@@ -56,7 +56,7 @@ module.exports = function (config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
- browsers: ['jsdom'],
+ browsers: ['ChromeHeadless', 'jsdom'],
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
diff --git a/legacy/package.json b/legacy/package.json
index ed618418..58fc79af 100644
--- a/legacy/package.json
+++ b/legacy/package.json
@@ -13,7 +13,7 @@
"scripts": {
"start": "webpack-dev-server --progress --port 8085",
"debug": "webpack-dev-server -d --progress",
- "test": "karma start --debug --single-run --browsers jsdom",
+ "test": "karma start --debug --single-run",
"test-watch": "karma start --debug",
"build": "mkdir dist && webpack --progress --mode=development",
"integration-test": "yarn build && rm -rf integration && cp -r dist integration && cp -r data integration",