testdriverai 4.2.6 → 4.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ name: Test TestDriverAI Installation
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 * * * *' # Runs every hour
6
+ workflow_dispatch:
7
+ push:
8
+ branches:
9
+ - main
10
+ pull_request:
11
+ branches:
12
+ - main
13
+
14
+ jobs:
15
+ install-testdriverai:
16
+ runs-on: ${{ matrix.runner }}
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ runner: [macos-latest, windows-latest]
21
+ node-version: ['18', '20']
22
+
23
+ steps:
24
+ - name: Checkout repository
25
+ uses: actions/checkout@v4
26
+
27
+ - name: Set up Node.js ${{ matrix.node-version }}
28
+ uses: actions/setup-node@v4
29
+ with:
30
+ node-version: ${{ matrix.node-version }}
31
+
32
+ - name: Install TestDriverAI globally
33
+ run: npm install -g testdriverai
34
+
35
+ - name: Verify Installation
36
+ run: testdriverai --help || echo "TestDriverAI not found"
package/agent.js CHANGED
@@ -909,6 +909,8 @@ let run = async (file, shouldSave = false, shouldExit = true) => {
909
909
  await exit(true);
910
910
  }
911
911
 
912
+ let interpolationVars = JSON.parse(process.env["TD_INTERPOLATION_VARS"] || '{}');
913
+
912
914
  // Inject environment variables into any ${VAR} strings
913
915
  yml = parser.interpolate(yml, process.env);
914
916
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.2.6",
3
+ "version": "4.2.8",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {