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 #2

Closed
wants to merge 68 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
df7484c
fix(deps): update debug to 4.3.6 (#1224)
MikeMcC399 Jul 29, 2024
9000863
chore: correct package.json repository.url protocol to git+https (#1225)
MikeMcC399 Jul 29, 2024
55398cb
test: convert pnpm workflow to os matrix (#1226)
MikeMcC399 Jul 29, 2024
13042d4
test: implement example pnpm workflow caching (#1228)
MikeMcC399 Jul 29, 2024
8585980
chore(deps): update dependency @types/node to v20.14.13 (#1221)
renovate[bot] Jul 30, 2024
568512f
chore(deps): update dependency husky to v9.1.4 (#1222)
renovate[bot] Jul 30, 2024
689551a
chore(deps): update cypress to 13.13.2 (#1229)
MikeMcC399 Jul 31, 2024
08bf3c9
test(deps): update examples/component-tests to vite v5 (#1231)
MikeMcC399 Aug 5, 2024
d075fa1
chore(deps): update dependency @types/node to v20.14.14 (#1230)
renovate[bot] Aug 5, 2024
a08087f
chore(deps): update dependency @types/node to v20.14.15 (#1233)
renovate[bot] Aug 12, 2024
d2a2aa4
chore(deps): update axios to 1.7.4 (#1234)
MikeMcC399 Aug 14, 2024
3badb61
chore(deps): update cypress to 13.13.3 (#1235)
MikeMcC399 Aug 14, 2024
53254b5
chore(deps): update dependency @types/node to v20.16.1 (#1236)
renovate[bot] Aug 19, 2024
d2a62af
chore(deps): update dependency husky to v9.1.5 (#1238)
renovate[bot] Aug 26, 2024
57f6235
fix(deps): update micromatch to 4.0.8 (#1239)
MikeMcC399 Aug 27, 2024
06c5a7b
chore(deps): update cypress to 13.14.0 (#1240)
MikeMcC399 Aug 27, 2024
53c780c
chore(deps): update webpack to 5.94.0 (#1241)
MikeMcC399 Aug 28, 2024
c47c901
fix: republish action (#1242)
MikeMcC399 Aug 28, 2024
c32f4d9
chore(deps): update cypress to 13.14.1 (#1243)
MikeMcC399 Aug 30, 2024
496e7dc
fix(deps): update to semantic-release 24.1.0 (#1244)
MikeMcC399 Aug 30, 2024
a328368
chore(deps): update dependency @types/node to v20.16.3 (#1245)
renovate[bot] Sep 3, 2024
db52a90
docs: update link to debug-js/debug repo (#1248)
MikeMcC399 Sep 6, 2024
cbe0525
chore(deps): update cypress to 13.14.2 (#1247)
MikeMcC399 Sep 6, 2024
0da3c06
fix(deps): update debug to 4.3.7 (#1251)
MikeMcC399 Sep 7, 2024
39ac757
chore(deps): update dependency @types/node to v20.16.5 (#1249)
renovate[bot] Sep 9, 2024
f8960d5
chore(deps): update path-to-regexp to 3.3.0 (#1257)
MikeMcC399 Sep 16, 2024
7a57565
docs: add cypress debug log sources reference (#1258)
MikeMcC399 Sep 16, 2024
bdda5f0
chore(deps): update serve to 14.2.3 (#1256)
MikeMcC399 Sep 16, 2024
f6a4f72
chore(deps): update examples/webpack (#1253)
MikeMcC399 Sep 16, 2024
ff18d0a
chore(deps): update dependency husky to v9.1.6 (#1255)
renovate[bot] Sep 16, 2024
ae6a43c
test: add cypress debug to example-debug workflow (#1259)
MikeMcC399 Sep 17, 2024
eb3d8ae
chore(deps): update vite to 5.4.6 (#1260)
MikeMcC399 Sep 18, 2024
35b8ead
chore(deps): update next to 14.2.12 (#1261)
MikeMcC399 Sep 18, 2024
bff0ae5
test: add binary install debug to example-debug workflow (#1262)
MikeMcC399 Sep 18, 2024
5b58dca
chore(deps): update rollup to 4.22.4 (#1267)
MikeMcC399 Sep 24, 2024
ea45def
chore(deps): update cypress to 13.15.0 (#1268)
MikeMcC399 Sep 26, 2024
57759c9
ci: set ubuntu-24.04 as default ubuntu runner (#1265)
MikeMcC399 Sep 30, 2024
576100b
chore(deps): update dependency @types/node to v20.16.10 (#1269)
renovate[bot] Oct 1, 2024
2bccd4a
ci: rework example-basic (#1263)
MikeMcC399 Oct 2, 2024
cc4464b
docs: active support v10 and later (#1276)
MikeMcC399 Oct 16, 2024
40cfd36
chore(deps): update dependency @types/node to v20.16.11 (#1275)
renovate[bot] Oct 16, 2024
8132565
docs: correct and extend ping debug instructions (#1284)
MikeMcC399 Oct 21, 2024
46f6e1a
chore(deps): update serve to 14.2.4 (#1279)
MikeMcC399 Oct 21, 2024
94ba88d
tests(deps): add node.js 23 (current) to tests (#1281)
MikeMcC399 Oct 21, 2024
e5fe3d0
docs: fix cypress cloud smart-orchestration links (#1289)
MikeMcC399 Oct 28, 2024
50b80e3
chore(deps): update cypress to 13.15.1 (#1287)
MikeMcC399 Oct 29, 2024
f1f0912
fix(deps): update @actions/toolkit (#1294)
MikeMcC399 Nov 4, 2024
a4e528f
tests(deps): update docker example node.js to 22.11.0 (#1295)
MikeMcC399 Nov 4, 2024
b858769
ci(deps): update internal ci to node.js 20.18.0 (#1297)
MikeMcC399 Nov 4, 2024
9d80db3
tests(deps): update pnpm example node.js to 22 (#1296)
MikeMcC399 Nov 4, 2024
742f589
chore(deps): update dependency node to v22 (#1293)
renovate[bot] Nov 4, 2024
c390a59
chore(deps): update cypress to 13.15.2 (#1299)
MikeMcC399 Nov 6, 2024
f7686e1
ci: remove markdown-link-check configuration (#1300)
MikeMcC399 Nov 7, 2024
ff35f50
docs: remove section "More Information" (#1303)
MikeMcC399 Nov 12, 2024
d06620b
docs: update "Manual trigger" section (#1304)
MikeMcC399 Nov 12, 2024
0cb751e
chore(deps): update dependency markdown-link-check to v3.13.6 (#1302)
renovate[bot] Nov 12, 2024
1f750ad
docs: make README bookmark internal links relative (#1312)
MikeMcC399 Nov 17, 2024
e2ffd5a
docs: add install-command lock file prerequisite (#1310)
MikeMcC399 Nov 18, 2024
3b16f4c
docs: fix readme links for cypress documentation restructuring (#1311)
MikeMcC399 Nov 18, 2024
8e8608e
chore(deps): update cypress to 13.16.0 (#1313)
MikeMcC399 Nov 20, 2024
3b3f827
tests(deps): update cross-spawn to 7.0.6 (#1314)
MikeMcC399 Nov 21, 2024
7320f3a
chore(deps): update dependency husky to v9.1.7 (#1315)
renovate[bot] Nov 25, 2024
52d8694
chore(deps): update dependency @types/node to v22.9.4 (#1316)
renovate[bot] Nov 26, 2024
d14a1a1
test(deps): update wait-on-vite to vite v6 (#1317)
MikeMcC399 Nov 26, 2024
01447ed
test: use short-form cypress/browsers tag (#1318)
MikeMcC399 Nov 26, 2024
d73d7d5
chore(deps): remove start-server-and-test from examples/config (#1321)
MikeMcC399 Dec 2, 2024
710a17d
chore(deps): update dependency @types/node to v22.10.1 (#1319)
renovate[bot] Dec 2, 2024
1ba48b8
*: integrate the blacksmith cache
adityamaru Jul 23, 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