testdriverai 5.7.44 → 5.7.46
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.
|
@@ -8,8 +8,12 @@ permissions:
|
|
|
8
8
|
statuses: write
|
|
9
9
|
|
|
10
10
|
on:
|
|
11
|
-
#
|
|
11
|
+
# Required checks have to exist in both PRs & Merge Queue:
|
|
12
|
+
# https://github.com/orgs/community/discussions/103114#discussioncomment-8359045
|
|
13
|
+
pull_request:
|
|
14
|
+
# Run in Merge Queue
|
|
12
15
|
merge_group:
|
|
16
|
+
types: [checks_requested]
|
|
13
17
|
# Through the GitHub UI
|
|
14
18
|
workflow_dispatch:
|
|
15
19
|
# Run every day at midnight to ensure CLI -> API works
|
|
@@ -18,6 +22,8 @@ on:
|
|
|
18
22
|
|
|
19
23
|
jobs:
|
|
20
24
|
publish-canary:
|
|
25
|
+
# Only run this job if in the Merge Queue
|
|
26
|
+
if: github.event_name == 'merge_group'
|
|
21
27
|
name: Publish testdriverai@canary
|
|
22
28
|
runs-on: ubuntu-latest
|
|
23
29
|
steps:
|
|
@@ -37,6 +43,8 @@ jobs:
|
|
|
37
43
|
token: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
38
44
|
|
|
39
45
|
gather-test-files:
|
|
46
|
+
# Only run this job if in the Merge Queue
|
|
47
|
+
if: github.event_name == 'merge_group'
|
|
40
48
|
name: Gather Test Files
|
|
41
49
|
runs-on: ubuntu-latest
|
|
42
50
|
outputs:
|
|
@@ -54,6 +62,7 @@ jobs:
|
|
|
54
62
|
echo "files=$FILES_JSON" >> $GITHUB_OUTPUT
|
|
55
63
|
|
|
56
64
|
run-tests:
|
|
65
|
+
# Should be automatically skipped outside of Merge Queue
|
|
57
66
|
name: Run Tests
|
|
58
67
|
needs:
|
|
59
68
|
- gather-test-files
|
|
@@ -116,6 +125,7 @@ jobs:
|
|
|
116
125
|
retention-days: 1
|
|
117
126
|
|
|
118
127
|
create-snippets-commit:
|
|
128
|
+
# Should be automatically skipped outside of Merge Queue
|
|
119
129
|
name: Commit Snippets
|
|
120
130
|
needs: run-tests
|
|
121
131
|
runs-on: ubuntu-latest
|