@cypress/github-action 0.0.0-dev.5013
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.
- package/LICENSE.md +24 -0
- package/README.md +1983 -0
- package/action.yml +129 -0
- package/dist/835.index.js +16772 -0
- package/dist/912.index.js +13112 -0
- package/dist/index.js +104800 -0
- package/dist/thread.js +57 -0
- package/package.json +71 -0
- package/src/ping-cli.js +19 -0
- package/src/ping.js +85 -0
package/action.yml
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# https://docs.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions
|
|
2
|
+
name: 'Cypress.io'
|
|
3
|
+
description: 'GitHub Action for running Cypress end-to-end and component tests'
|
|
4
|
+
author: 'Cypress-io'
|
|
5
|
+
inputs:
|
|
6
|
+
# inputs passed to Cypress Module API https://on.cypress.io/module-api
|
|
7
|
+
# Action options names are the same as Cypress Module API options names, except where noted
|
|
8
|
+
# and Cypress CLI option names https://on.cypress.io/command-line#Options are used instead
|
|
9
|
+
auto-cancel-after-failures:
|
|
10
|
+
description: 'Overrides the global Cloud configuration to set the failed test threshold for auto cancellation or to disable auto cancellation when recording to the Cloud (requires Cypress 12.x or later)'
|
|
11
|
+
required: false
|
|
12
|
+
browser:
|
|
13
|
+
description: 'Name of the browser to use'
|
|
14
|
+
required: false
|
|
15
|
+
ci-build-id:
|
|
16
|
+
description: 'ID associates multiple CI machines to one test run'
|
|
17
|
+
required: false
|
|
18
|
+
component: # translates to Module API testingType e2e (default / false) or component (true)
|
|
19
|
+
description: 'Lets the action know that Cypress is running component tests and not e2e tests'
|
|
20
|
+
required: false
|
|
21
|
+
default: false
|
|
22
|
+
config:
|
|
23
|
+
description: 'Set configuration values. Separate multiple values with a comma. The values set here override any values set in your configuration file.'
|
|
24
|
+
required: false
|
|
25
|
+
config-file:
|
|
26
|
+
description: 'Path to the cypress config file where configuration values are set'
|
|
27
|
+
required: false
|
|
28
|
+
default: ''
|
|
29
|
+
env:
|
|
30
|
+
description: 'Sets Cypress environment variables'
|
|
31
|
+
required: false
|
|
32
|
+
expose:
|
|
33
|
+
description: 'Sets Cypress expose variables for non-sensitive, public config values (requires Cypress 15.10.0 or later)'
|
|
34
|
+
required: false
|
|
35
|
+
group:
|
|
36
|
+
description: 'Group setting for recording tests'
|
|
37
|
+
required: false
|
|
38
|
+
headed:
|
|
39
|
+
description: 'Whether or not to use headed mode'
|
|
40
|
+
required: false
|
|
41
|
+
# headless: # not used (default and equivalent to headed: false)
|
|
42
|
+
# key: # not used. Pass this option using CYPRESS_RECORD_KEY as a secret environment variable
|
|
43
|
+
# exit: # not used
|
|
44
|
+
parallel:
|
|
45
|
+
description: 'Whether or not to load balance recorded tests using multiple containers'
|
|
46
|
+
required: false
|
|
47
|
+
# port: # not used
|
|
48
|
+
project:
|
|
49
|
+
description: 'Path of project to run'
|
|
50
|
+
required: false
|
|
51
|
+
quiet:
|
|
52
|
+
description: 'Whether or not to silence any Cypress specific output from stdout'
|
|
53
|
+
required: false
|
|
54
|
+
record:
|
|
55
|
+
description: 'Sends test results to Cypress Cloud'
|
|
56
|
+
required: false
|
|
57
|
+
default: false
|
|
58
|
+
# reporter: # not used
|
|
59
|
+
# reporterOptions: # not used
|
|
60
|
+
# runnerUi: # not used
|
|
61
|
+
# slowTestThreshold # not used
|
|
62
|
+
spec:
|
|
63
|
+
description: 'Provide specific specs to run'
|
|
64
|
+
required: false
|
|
65
|
+
tag:
|
|
66
|
+
description: 'Tag setting for tests'
|
|
67
|
+
required: false
|
|
68
|
+
#
|
|
69
|
+
# inputs used internally by action, not passed to Cypress Module API
|
|
70
|
+
#
|
|
71
|
+
build:
|
|
72
|
+
description: 'Command to run build step before starting tests'
|
|
73
|
+
required: false
|
|
74
|
+
cache-key:
|
|
75
|
+
description: 'Custom cache key'
|
|
76
|
+
required: false
|
|
77
|
+
command: # Using this option overrides passing inputs to the Cypress Module API
|
|
78
|
+
description: 'Command that overrides cypress run'
|
|
79
|
+
required: false
|
|
80
|
+
command-prefix:
|
|
81
|
+
description: 'You can prefix the default test command using the command-prefix option.'
|
|
82
|
+
required: false
|
|
83
|
+
install:
|
|
84
|
+
description: 'Whether or not to run install'
|
|
85
|
+
required: false
|
|
86
|
+
install-command:
|
|
87
|
+
description: 'Custom install command to use'
|
|
88
|
+
required: false
|
|
89
|
+
package-manager-cache:
|
|
90
|
+
description: 'Set to false to disable automatic package manager caching. By default, package manager caching is enabled.'
|
|
91
|
+
required: false
|
|
92
|
+
default: true
|
|
93
|
+
publish-summary:
|
|
94
|
+
description: 'Whether or not to publish a job summary'
|
|
95
|
+
required: false
|
|
96
|
+
default: true
|
|
97
|
+
runTests:
|
|
98
|
+
description: 'Whether or not to run tests'
|
|
99
|
+
required: false
|
|
100
|
+
start:
|
|
101
|
+
description: 'Command for starting local server in the background'
|
|
102
|
+
required: false
|
|
103
|
+
start-windows:
|
|
104
|
+
description: 'A different start command on Windows'
|
|
105
|
+
required: false
|
|
106
|
+
summary-title:
|
|
107
|
+
description: 'Title for job summary'
|
|
108
|
+
required: false
|
|
109
|
+
wait-on:
|
|
110
|
+
description: 'Local server URL to wait for'
|
|
111
|
+
required: false
|
|
112
|
+
wait-on-timeout:
|
|
113
|
+
description: 'Amount of time to wait for wait-on URL to be available'
|
|
114
|
+
required: false
|
|
115
|
+
working-directory:
|
|
116
|
+
description: 'Working directory containing Cypress folder'
|
|
117
|
+
required: false
|
|
118
|
+
outputs:
|
|
119
|
+
# derived from Cypress Module API https://on.cypress.io/module-api#Results runUrl
|
|
120
|
+
dashboardUrl:
|
|
121
|
+
description: 'Cypress Cloud URL if the run was recorded (deprecated)'
|
|
122
|
+
resultsUrl:
|
|
123
|
+
description: 'Cypress Cloud URL if the run was recorded'
|
|
124
|
+
runs:
|
|
125
|
+
using: 'node24'
|
|
126
|
+
main: 'dist/index.js'
|
|
127
|
+
branding:
|
|
128
|
+
color: 'green'
|
|
129
|
+
icon: 'check-square'
|