Skip to content

Commit

Permalink
Merge branch 'feat/record-in-fork-rev2' of https://github.com/MikeMcC…
Browse files Browse the repository at this point in the history
…399/github-action into feat/record-in-fork-rev2
  • Loading branch information
MikeMcC399 committed Mar 2, 2023
2 parents 45aa1c2 + 16bf365 commit 014f687
Show file tree
Hide file tree
Showing 56 changed files with 441 additions and 215 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/add-issue-to-triage-board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Add issue/PR to Triage Board'
on:
issues:
types:
- opened
pull_request_target:
types:
- opened
jobs:
add-to-triage-project-board:
uses: cypress-io/cypress/.github/workflows/triage_add_to_project.yml@develop
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/example-install-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
key: my-cache-${{ runner.os }}-${{ hashFiles('package-lock.json') }}

- name: Install Cypress 📥
run: npm i cypress@12.6.0
run: npm i cypress@12.7.0

- name: Cypress tests 🧪
uses: ./
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/example-node-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
runs-on: ubuntu-22.04
# let's make sure Cypress works on several versions of Node
strategy:
fail-fast: false
matrix:
node: [14, 16, 18]
node: [14, 16, 18, 19]
name: Cypress v9 E2E on Node v${{ matrix.node }}
steps:
- name: Setup Node
Expand All @@ -40,8 +41,9 @@ jobs:
runs-on: ubuntu-22.04
# let's make sure Cypress works on several versions of Node
strategy:
fail-fast: false
matrix:
node: [14, 16, 18]
node: [14, 16, 18, 19]
name: Cypress E2E on Node v${{ matrix.node }}
steps:
- name: Setup Node
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/example-wait-on.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
with:
working-directory: examples/v9/react-scripts
start: npm start
wait-on: 'http://localhost:3000'
wait-on: 'http://127.0.0.1:3000'

wait-using-custom-command-v9:
runs-on: ubuntu-22.04
Expand All @@ -157,7 +157,7 @@ jobs:
working-directory: examples/v9/react-scripts
start: npm start
# let's use wait-on NPM package to check the URL
wait-on: 'npx wait-on --timeout 5000 http://localhost:3000'
wait-on: 'npx wait-on --timeout 5000 http://127.0.0.1:3000'

ping-cli-v9:
runs-on: ubuntu-22.04
Expand All @@ -178,7 +178,7 @@ jobs:
uses: ./
with:
working-directory: examples/v9/wait-on-vite
start: npm run dev
start: npx vite --host
wait-on: 'http://localhost:5173'

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cypress v10 and higher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
with:
working-directory: examples/react-scripts
start: npm start
wait-on: 'http://localhost:3000'
wait-on: 'http://127.0.0.1:3000'

wait-using-custom-command:
runs-on: ubuntu-22.04
Expand All @@ -330,7 +330,7 @@ jobs:
working-directory: examples/react-scripts
start: npm start
# let's use wait-on NPM package to check the URL
wait-on: 'npx wait-on --timeout 5000 http://localhost:3000'
wait-on: 'npx wait-on --timeout 5000 http://127.0.0.1:3000'

ping-cli:
runs-on: ubuntu-22.04
Expand All @@ -351,5 +351,5 @@ jobs:
uses: ./
with:
working-directory: examples/wait-on-vite
start: npm run dev
start: npx vite --host
wait-on: 'http://localhost:5173'
9 changes: 9 additions & 0 deletions .github/workflows/triage_closed_issue_comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: 'Closed Issue Comment'
on:
issue_comment:
types:
- created
jobs:
closed-issue-comment:
uses: cypress-io/cypress/.github/workflows/triage_closed_issue_comment.yml@develop
secrets: inherit
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

```yml
name: End-to-end tests
on: [push]
on: push
jobs:
cypress-run:
runs-on: 22.04
Expand Down
Loading

0 comments on commit 014f687

Please sign in to comment.