FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
github-action/.github/workflows/example-basic.yml at master · GlobalSecurityScan/github-action · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
GlobalSecurityScan
/
github-action
Public
forked from
cypress-io/github-action
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
github-action
/
.github
/
workflows
/
example-basic.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
80 lines (76 loc) · 2.05 KB
Breadcrumbs
github-action
/
.github
/
workflows
/
example-basic.yml
Copy path
File metadata and controls
80 lines (76 loc) · 2.05 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name
:
example-basic
#
This workflow represents a set of basic End-to-End tests
#
#
In the example jobs, the action is called with
#
uses: ./
#
which runs the action code from the current branch.
#
If you copy this workflow to another repo, replace the line with
#
uses: cypress-io/github-action@v7
on
:
push
:
branches
:
-
'
master
'
pull_request
:
workflow_dispatch
:
permissions
:
contents
:
read
jobs
:
basic
:
strategy
:
fail-fast
:
false
matrix
:
os
:
-
ubuntu-22.04
-
ubuntu-22.04-arm
-
ubuntu-24.04
-
ubuntu-24.04-arm
-
ubuntu-26.04
-
windows-2025
-
windows-11-arm
-
macos-26
-
macos-26-intel
runs-on
:
${{ matrix.os }}
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v7
-
name
:
Cypress tests
uses
:
./
#
the parameters below are only necessary
#
because we are running these examples in a monorepo
with
:
working-directory
:
examples/basic
#
just for full picture after installing Cypress
#
print information about detected browsers, etc
#
see https://on.cypress.io/command-line#cypress-info
build
:
npx cypress info
basic-npm-cache
:
#
Use setup-node to cache npm dependencies
strategy
:
fail-fast
:
false
matrix
:
os
:
-
ubuntu-22.04
-
ubuntu-22.04-arm
-
ubuntu-24.04
-
ubuntu-24.04-arm
-
ubuntu-26.04
-
windows-2025
-
windows-11-arm
-
macos-26
-
macos-26-intel
runs-on
:
${{ matrix.os }}
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v7
-
name
:
Setup Node.js
uses
:
actions/setup-node@v6
with
:
node-version-file
:
.node-version
cache
:
npm
cache-dependency-path
:
examples/basic/package-lock.json
-
name
:
Cypress tests
uses
:
./
with
:
package-manager-cache
:
false
working-directory
:
examples/basic
build
:
npx cypress info
Back
|
FazBrowse Home
|
New Git URL