diff --git a/.github/workflows/local-dev.yml b/.github/workflows/local-dev.yml index 56d621f32b..e57db89b7e 100644 --- a/.github/workflows/local-dev.yml +++ b/.github/workflows/local-dev.yml @@ -38,7 +38,7 @@ jobs: curl --fail --retry-connrefused --retry 5 http://localhost:4000/ - name: Run basic tests - run: node src/workflows/test-local-dev.js + run: npm run test-local-dev - if: ${{ failure() }} name: Debug server outputs on errors diff --git a/package.json b/package.json index 0c8d82a4bf..a3f06cec11 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "sync-search-server": "cross-env NODE_ENV=production PORT=4002 MINIMAL_RENDER=true CHANGELOG_DISABLED=true node src/frame/server.js", "sync-webhooks": "src/rest/scripts/update-files.js -o webhooks", "test": "cross-env NODE_OPTIONS='--max_old_space_size=4096 --experimental-vm-modules' jest --logHeapUsage", + "test-local-dev": "node src/workflows/test-local-dev.js", "test-moved-content": "tsx src/content-render/scripts/test-moved-content.ts", "test-watch": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch --notify --notifyMode=change --coverage", "toggle-ghae-feature-flags": "node src/versions/scripts/toggle-ghae-feature-flags.js",