chore(deps): update dependency @types/node to v18.17.3 #2122
Workflow file for this run
This file contains 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 | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
# ~~~~~~~~~~~~~~~~~~ Cypress v9 and below (using Legacy configuration) ~~~~~~~~~~~~~~~~~~~ # | |
tests-v9: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cypress info | |
uses: ./ | |
with: | |
# 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 | |
working-directory: examples/v9/browser | |
- name: Chrome | |
uses: ./ | |
with: | |
working-directory: examples/v9/browser | |
browser: chrome | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: screenshots-in-chrome-v9 | |
path: examples/v9/browser/cypress/screenshots | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: video-in-chrome-v9 | |
path: examples/v9/browser/cypress/videos | |
- run: npx image-size cypress/screenshots/**/*.png | |
working-directory: examples/v9/browser | |
- name: Chrome headed | |
uses: ./ | |
with: | |
working-directory: examples/v9/browser | |
browser: chrome | |
headed: true | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: screenshots-in-headed-chrome-v9 | |
path: examples/v9/browser/cypress/screenshots | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: video-in-headed-chrome-v9 | |
path: examples/v9/browser/cypress/videos | |
- run: npx image-size cypress/screenshots/**/*.png | |
working-directory: examples/v9/browser | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cypress v10 and higher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | |
tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cypress info | |
uses: ./ | |
with: | |
# 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 | |
working-directory: examples/browser | |
- name: Chrome | |
uses: ./ | |
with: | |
working-directory: examples/browser | |
browser: chrome | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: screenshots-in-chrome | |
path: examples/browser/cypress/screenshots | |
- run: npx image-size cypress/screenshots/**/*.png | |
working-directory: examples/browser | |
- name: Chrome headless | |
uses: ./ | |
with: | |
working-directory: examples/browser | |
browser: chrome | |
headed: false | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: screenshots-in-headless-chrome | |
path: examples/browser/cypress/screenshots | |
- run: npx image-size cypress/screenshots/**/*.png | |
working-directory: examples/browser |