chore(deps): update dependency node to v20.19.5 #3565
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: example-chrome | |
| # 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@v6 | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Chrome headless | |
| uses: ./ | |
| with: | |
| # Print information about the system and current environment | |
| # including detected browsers | |
| # which are pre-installed in GitHub-hosted runners | |
| # see https://on.cypress.io/command-line#cypress-info | |
| # We do not need the build parameter to build an app here | |
| # because the remote https://example.cypress.io site | |
| # is already built and running, and so for convenience | |
| # we repurpose the build parameter to get cypress info instead. | |
| build: npx cypress info | |
| working-directory: examples/browser | |
| browser: chrome | |
| summary-title: 'Chrome headless' | |
| # As of Cypress v8.0 the `cypress run` command | |
| # executes tests in `headless` mode by default | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: screenshots-headless-chrome | |
| path: examples/browser/cypress/screenshots | |
| - run: npx image-size cypress/screenshots/**/*.png | |
| working-directory: examples/browser | |
| - name: Chrome headed | |
| uses: ./ | |
| with: | |
| # Cypress and dependencies are already installed | |
| install: false | |
| working-directory: examples/browser | |
| browser: chrome | |
| headed: true | |
| summary-title: 'Chrome headed' | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: screenshots-headed-chrome | |
| path: examples/browser/cypress/screenshots | |
| - run: npx image-size cypress/screenshots/**/*.png | |
| working-directory: examples/browser |