Skip to content

Commit a6333aa

Browse files
authoredAug 24, 2023
feat: archive v9 examples (#999)
1 parent fa88e4a commit a6333aa

File tree

149 files changed

+6
-87003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+6
-87003
lines changed
 

‎.github/workflows/example-basic-pnpm.yml

-103
Original file line numberDiff line numberDiff line change
@@ -7,109 +7,6 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
# ~~~~~~~~~~~~~~~~~~ Cypress v9 and below (using Legacy configuration) ~~~~~~~~~~~~~~~~~~~ #
11-
12-
basic-pnpm-ubuntu-20-v9:
13-
runs-on: ubuntu-20.04
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v3
17-
18-
- name: Install pnpm
19-
uses: pnpm/action-setup@v2
20-
with:
21-
version: 7
22-
23-
- name: Cypress tests
24-
# normally you would write
25-
# uses: cypress-io/github-action@v5
26-
uses: ./
27-
# the parameters below are only necessary
28-
# because we are running these examples in a monorepo
29-
with:
30-
working-directory: examples/v9/basic-pnpm
31-
# just for full picture after installing Cypress
32-
# print information about detected browsers, etc
33-
# see https://on.cypress.io/command-line#cypress-info
34-
build: npx cypress info
35-
36-
basic-pnpm-ubuntu-22-v9:
37-
runs-on: ubuntu-22.04
38-
steps:
39-
- name: Checkout
40-
uses: actions/checkout@v3
41-
42-
- name: Install pnpm
43-
uses: pnpm/action-setup@v2
44-
with:
45-
version: 7
46-
47-
- name: Cypress tests
48-
uses: ./
49-
with:
50-
working-directory: examples/v9/basic-pnpm
51-
build: npx cypress info
52-
53-
basic-pnpm-on-windows-v9:
54-
runs-on: windows-latest
55-
steps:
56-
- name: Checkout
57-
uses: actions/checkout@v3
58-
59-
- name: Install pnpm
60-
uses: pnpm/action-setup@v2
61-
with:
62-
version: 7
63-
64-
- name: Cypress tests
65-
uses: ./
66-
with:
67-
working-directory: examples/v9/basic-pnpm
68-
build: npx cypress info
69-
70-
basic-pnpm-on-mac-v9:
71-
runs-on: macos-latest
72-
steps:
73-
- name: Checkout
74-
uses: actions/checkout@v3
75-
76-
- name: Install pnpm
77-
uses: pnpm/action-setup@v2
78-
with:
79-
version: 7
80-
81-
- name: Cypress tests
82-
uses: ./
83-
with:
84-
working-directory: examples/v9/basic-pnpm
85-
build: npx cypress info
86-
87-
# skips the binary installation
88-
# shows that the job should not fail
89-
# https://github.com/cypress-io/github-action/issues/327
90-
basic-pnpm-without-binary-install-v9:
91-
runs-on: ubuntu-22.04
92-
steps:
93-
- name: Checkout
94-
uses: actions/checkout@v3
95-
96-
- name: Install pnpm
97-
uses: pnpm/action-setup@v2
98-
with:
99-
version: 7
100-
101-
- name: Cypress tests
102-
uses: ./
103-
with:
104-
working-directory: examples/v9/basic-pnpm
105-
# since we do not install Cypress
106-
# we should not attempt to run tests
107-
runTests: false
108-
env:
109-
# skip the binary install
110-
CYPRESS_INSTALL_BINARY: 0
111-
112-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cypress v10 and higher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
11310

11411
basic-pnpm-ubuntu-20:
11512
runs-on: ubuntu-20.04

‎.github/workflows/example-basic.yml

-78
Original file line numberDiff line numberDiff line change
@@ -8,84 +8,6 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
# ~~~~~~~~~~~~~~~~~~ Cypress v9 and below (using Legacy configuration) ~~~~~~~~~~~~~~~~~~~ #
12-
13-
basic-ubuntu-20-v9:
14-
runs-on: ubuntu-20.04
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v3
18-
19-
- name: Cypress tests
20-
# normally you would write
21-
# uses: cypress-io/github-action@v5
22-
uses: ./
23-
# the parameters below are only necessary
24-
# because we are running these examples in a monorepo
25-
with:
26-
working-directory: examples/v9/basic
27-
# just for full picture after installing Cypress
28-
# print information about detected browsers, etc
29-
# see https://on.cypress.io/command-line#cypress-info
30-
build: npx cypress info
31-
32-
basic-ubuntu-22-v9:
33-
runs-on: ubuntu-22.04
34-
steps:
35-
- name: Checkout
36-
uses: actions/checkout@v3
37-
38-
- name: Cypress tests
39-
uses: ./
40-
with:
41-
working-directory: examples/v9/basic
42-
build: npx cypress info
43-
44-
basic-on-windows-v9:
45-
runs-on: windows-latest
46-
steps:
47-
- name: Checkout
48-
uses: actions/checkout@v3
49-
50-
- name: Cypress tests
51-
uses: ./
52-
with:
53-
working-directory: examples/v9/basic
54-
build: npx cypress info
55-
56-
basic-on-mac-v9:
57-
runs-on: macos-latest
58-
steps:
59-
- name: Checkout
60-
uses: actions/checkout@v3
61-
62-
- name: Cypress tests
63-
uses: ./
64-
with:
65-
working-directory: examples/v9/basic
66-
build: npx cypress info
67-
68-
# skips the binary installation
69-
# shows that the job should not fail
70-
# https://github.com/cypress-io/github-action/issues/327
71-
basic-without-binary-install-v9:
72-
runs-on: ubuntu-22.04
73-
steps:
74-
- name: Checkout
75-
uses: actions/checkout@v3
76-
77-
- name: Cypress tests
78-
uses: ./
79-
with:
80-
working-directory: examples/v9/basic
81-
# since we do not install Cypress
82-
# we should not attempt to run tests
83-
runTests: false
84-
env:
85-
# skip the binary install
86-
CYPRESS_INSTALL_BINARY: 0
87-
88-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cypress v10 and higher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
8911

9012
basic-ubuntu-20:
9113
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)
Please sign in to comment.