testdriverai 7.2.59 → 7.2.60
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.
|
@@ -7,38 +7,39 @@ permissions:
|
|
|
7
7
|
on:
|
|
8
8
|
schedule:
|
|
9
9
|
# Every 6 hours
|
|
10
|
-
- cron:
|
|
10
|
+
- cron: "0 */6 * * *"
|
|
11
11
|
workflow_dispatch: # Allow manual trigger
|
|
12
12
|
|
|
13
13
|
jobs:
|
|
14
14
|
test-linux:
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
steps:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: Setup Node.js
|
|
21
|
+
uses: actions/setup-node@v4
|
|
22
|
+
with:
|
|
23
|
+
node-version: "20"
|
|
24
|
+
cache: "npm"
|
|
25
|
+
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: npm ci
|
|
28
|
+
|
|
29
|
+
- name: Install Sentry CLI
|
|
30
|
+
run: npm install -g @sentry/cli
|
|
31
|
+
|
|
32
|
+
- name: Run Linux tests with Sentry Cron monitoring
|
|
33
|
+
run: |
|
|
34
|
+
sentry-cli monitors run testdriver-linux-acceptance -- npx vitest run examples/*.test.mjs
|
|
35
|
+
env:
|
|
36
|
+
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
|
37
|
+
TD_API_KEY: ${{ secrets.TD_API_KEY }}
|
|
38
|
+
TD_OS: linux
|
|
39
|
+
TWOCAPTCHA_API_KEY: ${{ secrets.TWOCAPTCHA_API_KEY }}
|
|
40
|
+
|
|
41
|
+
- name: Upload test results to Sentry Prevent
|
|
42
|
+
if: ${{ !cancelled() }}
|
|
43
|
+
uses: getsentry/prevent-action@v0
|
|
44
|
+
with:
|
|
45
|
+
token: ${{ secrets.SENTRY_PREVENT_TOKEN }}
|
package/CHANGELOG.md
CHANGED