Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync fork #3

Merged
merged 67 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
5bf6827
fix(deps): update debug to 4.3.6 (#1224)
MikeMcC399 Jul 29, 2024
58b09aa
chore: correct package.json repository.url protocol to git+https (#1225)
MikeMcC399 Jul 29, 2024
0c0d0c4
test: convert pnpm workflow to os matrix (#1226)
MikeMcC399 Jul 29, 2024
296eb76
test: implement example pnpm workflow caching (#1228)
MikeMcC399 Jul 29, 2024
b7f073a
chore(deps): update dependency @types/node to v20.14.13 (#1221)
renovate[bot] Jul 30, 2024
872c776
chore(deps): update dependency husky to v9.1.4 (#1222)
renovate[bot] Jul 30, 2024
14a7a1c
chore(deps): update cypress to 13.13.2 (#1229)
MikeMcC399 Jul 31, 2024
d20a1f9
test(deps): update examples/component-tests to vite v5 (#1231)
MikeMcC399 Aug 5, 2024
8421436
chore(deps): update dependency @types/node to v20.14.14 (#1230)
renovate[bot] Aug 5, 2024
9317526
chore(deps): update dependency @types/node to v20.14.15 (#1233)
renovate[bot] Aug 12, 2024
af8ade1
chore(deps): update axios to 1.7.4 (#1234)
MikeMcC399 Aug 14, 2024
fe35fe4
chore(deps): update cypress to 13.13.3 (#1235)
MikeMcC399 Aug 14, 2024
23cc6ee
chore(deps): update dependency @types/node to v20.16.1 (#1236)
renovate[bot] Aug 19, 2024
8764ce8
chore(deps): update dependency husky to v9.1.5 (#1238)
renovate[bot] Aug 26, 2024
7165d85
fix(deps): update micromatch to 4.0.8 (#1239)
MikeMcC399 Aug 27, 2024
7c29b9f
chore(deps): update cypress to 13.14.0 (#1240)
MikeMcC399 Aug 27, 2024
5312a5a
chore(deps): update webpack to 5.94.0 (#1241)
MikeMcC399 Aug 28, 2024
04fd2dc
fix: republish action (#1242)
MikeMcC399 Aug 28, 2024
2a07e6e
chore(deps): update cypress to 13.14.1 (#1243)
MikeMcC399 Aug 30, 2024
aedc8d2
fix(deps): update to semantic-release 24.1.0 (#1244)
MikeMcC399 Aug 30, 2024
9097e5d
chore(deps): update dependency @types/node to v20.16.3 (#1245)
renovate[bot] Sep 3, 2024
834744e
docs: update link to debug-js/debug repo (#1248)
MikeMcC399 Sep 6, 2024
a202a49
chore(deps): update cypress to 13.14.2 (#1247)
MikeMcC399 Sep 6, 2024
2c64797
fix(deps): update debug to 4.3.7 (#1251)
MikeMcC399 Sep 7, 2024
6f738d1
chore(deps): update dependency @types/node to v20.16.5 (#1249)
renovate[bot] Sep 9, 2024
40c471e
chore(deps): update path-to-regexp to 3.3.0 (#1257)
MikeMcC399 Sep 16, 2024
872fbea
docs: add cypress debug log sources reference (#1258)
MikeMcC399 Sep 16, 2024
519f6da
chore(deps): update serve to 14.2.3 (#1256)
MikeMcC399 Sep 16, 2024
d6d7192
chore(deps): update examples/webpack (#1253)
MikeMcC399 Sep 16, 2024
e7013b6
chore(deps): update dependency husky to v9.1.6 (#1255)
renovate[bot] Sep 16, 2024
4236ec8
test: add cypress debug to example-debug workflow (#1259)
MikeMcC399 Sep 17, 2024
ea9f8b7
chore(deps): update vite to 5.4.6 (#1260)
MikeMcC399 Sep 18, 2024
5eb0fd6
chore(deps): update next to 14.2.12 (#1261)
MikeMcC399 Sep 18, 2024
58247ad
test: add binary install debug to example-debug workflow (#1262)
MikeMcC399 Sep 18, 2024
4a09959
chore(deps): update rollup to 4.22.4 (#1267)
MikeMcC399 Sep 24, 2024
60337fb
chore(deps): update cypress to 13.15.0 (#1268)
MikeMcC399 Sep 26, 2024
01a7207
ci: set ubuntu-24.04 as default ubuntu runner (#1265)
MikeMcC399 Sep 30, 2024
645ef80
chore(deps): update dependency @types/node to v20.16.10 (#1269)
renovate[bot] Oct 1, 2024
3254dba
ci: rework example-basic (#1263)
MikeMcC399 Oct 2, 2024
378a40b
docs: active support v10 and later (#1276)
MikeMcC399 Oct 16, 2024
d859660
chore(deps): update dependency @types/node to v20.16.11 (#1275)
renovate[bot] Oct 16, 2024
e782d37
docs: correct and extend ping debug instructions (#1284)
MikeMcC399 Oct 21, 2024
ee5a870
chore(deps): update serve to 14.2.4 (#1279)
MikeMcC399 Oct 21, 2024
a3557b5
tests(deps): add node.js 23 (current) to tests (#1281)
MikeMcC399 Oct 21, 2024
d21a736
docs: fix cypress cloud smart-orchestration links (#1289)
MikeMcC399 Oct 28, 2024
58f3399
chore(deps): update cypress to 13.15.1 (#1287)
MikeMcC399 Oct 29, 2024
a3ad23e
fix(deps): update @actions/toolkit (#1294)
MikeMcC399 Nov 4, 2024
e31ab95
tests(deps): update docker example node.js to 22.11.0 (#1295)
MikeMcC399 Nov 4, 2024
dd5b17e
ci(deps): update internal ci to node.js 20.18.0 (#1297)
MikeMcC399 Nov 4, 2024
94b8fb4
tests(deps): update pnpm example node.js to 22 (#1296)
MikeMcC399 Nov 4, 2024
2620b55
chore(deps): update dependency node to v22 (#1293)
renovate[bot] Nov 4, 2024
103e808
chore(deps): update cypress to 13.15.2 (#1299)
MikeMcC399 Nov 6, 2024
6ad6f6e
ci: remove markdown-link-check configuration (#1300)
MikeMcC399 Nov 7, 2024
273b0f3
docs: remove section "More Information" (#1303)
MikeMcC399 Nov 12, 2024
ed8d172
docs: update "Manual trigger" section (#1304)
MikeMcC399 Nov 12, 2024
1d8a2da
chore(deps): update dependency markdown-link-check to v3.13.6 (#1302)
renovate[bot] Nov 12, 2024
5813ebb
docs: make README bookmark internal links relative (#1312)
MikeMcC399 Nov 17, 2024
75ef21f
docs: add install-command lock file prerequisite (#1310)
MikeMcC399 Nov 18, 2024
a9702ed
docs: fix readme links for cypress documentation restructuring (#1311)
MikeMcC399 Nov 18, 2024
afd43d5
chore(deps): update cypress to 13.16.0 (#1313)
MikeMcC399 Nov 20, 2024
898703e
tests(deps): update cross-spawn to 7.0.6 (#1314)
MikeMcC399 Nov 21, 2024
5b60123
chore(deps): update dependency husky to v9.1.7 (#1315)
renovate[bot] Nov 25, 2024
4f53d00
chore(deps): update dependency @types/node to v22.9.4 (#1316)
renovate[bot] Nov 26, 2024
cf1ea34
test(deps): update wait-on-vite to vite v6 (#1317)
MikeMcC399 Nov 26, 2024
0ee8382
test: use short-form cypress/browsers tag (#1318)
MikeMcC399 Nov 26, 2024
a8dcfc5
chore(deps): remove start-server-and-test from examples/config (#1321)
MikeMcC399 Dec 2, 2024
40714f2
chore(deps): update dependency @types/node to v22.10.1 (#1319)
renovate[bot] Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@ on:

jobs:
check-dist:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.8.1
# Action runs: using: node20 as defined in
# https://github.com/cypress-io/github-action/blob/master/action.yml
# Node.js minor version is aligned to
# https://github.com/actions/runner/blob/main/src/Misc/externals.sh
node-version: 20.18.0
- run: npm ci
- run: npm run format
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check-markdown-links:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Check links in Markdown files
steps:
- name: Checkout
Expand Down
97 changes: 21 additions & 76 deletions .github/workflows/example-basic-pnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,92 +8,37 @@ on:

jobs:

basic-pnpm-ubuntu-20:
runs-on: ubuntu-20.04
basic-pnpm:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-2022, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4

# See https://github.com/pnpm/action-setup
- name: Install pnpm
run: npm install -g pnpm@9

- name: Cypress tests
# normally you would write
# uses: cypress-io/github-action@v6
uses: ./
# the parameters below are only necessary
# because we are running these examples in a monorepo
uses: pnpm/action-setup@v4
with:
working-directory: examples/basic-pnpm
# 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-pnpm-ubuntu-22:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
run: npm install -g pnpm@9
version: 9

- name: Cypress tests
uses: ./
# See https://github.com/actions/setup-node
- name: Install Node.js
uses: actions/setup-node@v4
with:
working-directory: examples/basic-pnpm
build: npx cypress info

basic-pnpm-on-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
run: npm install -g pnpm@9

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic-pnpm
build: npx cypress info

basic-pnpm-on-mac:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
run: npm install -g pnpm@9

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic-pnpm
build: npx cypress info

# skips the binary installation
# shows that the job should not fail
# https://github.com/cypress-io/github-action/issues/327
basic-pnpm-without-binary-install:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
run: npm install -g pnpm@9
node-version: 22
cache: 'pnpm'
cache-dependency-path: examples/basic-pnpm/pnpm-lock.yaml

- name: Cypress tests
# if you copy this workflow to another repository
# take the next line as replacement for ./
# uses: cypress-io/github-action@v6
uses: ./
with:
working-directory: examples/basic-pnpm
# since we do not install Cypress
# we should not attempt to run tests
runTests: false
env:
# skip the binary install
CYPRESS_INSTALL_BINARY: 0
# print information about detected browsers, etc
# see https://on.cypress.io/command-line#cypress-info
build: pnpm exec cypress info
64 changes: 6 additions & 58 deletions .github/workflows/example-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ on:

jobs:

basic-ubuntu-20:
runs-on: ubuntu-20.04
basic:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-2022, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -27,59 +31,3 @@ jobs:
# print information about detected browsers, etc
# see https://on.cypress.io/command-line#cypress-info
build: npx cypress info

basic-ubuntu-22:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic
build: npx cypress info

basic-on-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic
build: npx cypress info

basic-on-mac:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic
build: npx cypress info

# skips the binary installation
# shows that the job should not fail
# https://github.com/cypress-io/github-action/issues/327
basic-without-binary-install:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cypress tests
uses: ./
with:
working-directory: examples/basic
# since we do not install Cypress
# we should not attempt to run tests
runTests: false
env:
# skip the binary install
CYPRESS_INSTALL_BINARY: 0
2 changes: 1 addition & 1 deletion .github/workflows/example-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:

tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-component-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
cypress-run:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/example-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

start:
# example where we pass custom base URL
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:

config-file:
# example where we use a custom config-file
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:

separate-specs:
# example where we pass specs to run via multiple lines
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -61,7 +61,7 @@ jobs:

separate-specs-with-wildcard:
# example where we pass specs to run via multiple lines and wildcards
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
nightly:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/example-custom-ci-build-id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ env:
jobs:

check-record-key:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
record-key-exists: ${{ steps.record-key-check.outputs.defined }}
steps:
Expand All @@ -56,7 +56,7 @@ jobs:
# single job that generates and outputs a common id
prepare:
needs: [check-record-key]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: needs.check-record-key.outputs.record-key-exists == 'true'
outputs:
uuid: ${{ steps.uuid.outputs.value }}
Expand All @@ -75,7 +75,7 @@ jobs:
# and record it to the Cypress Cloud
smoke-tests:
needs: [prepare]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
Expand All @@ -101,7 +101,7 @@ jobs:
# under different groups
all-tests:
needs: [prepare, smoke-tests]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-custom-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
start:
# example where instead of forming the default "cypress run ..."
# the user can specify their own command
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
Expand Down
Loading
Loading