chore(deps): update dependency ubuntu to v24 #132
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: basic | |
on: [push] | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cypress run | |
uses: cypress-io/github-action@v2 | |
# execute Cypress using a custom test command | |
with: | |
# verifies the number of passing tests | |
# and passes a variable to Cypress | |
# to be read using Cypress.env("lastName") | |
command: npm run expect -- --env lastName=Smith | |
# when setting "plain" environment variables | |
# if we want to pass Cypress to read them | |
# we need to prefix them with "CYPRESS_" | |
# https://on.cypress.io/environment-variables | |
env: | |
CYPRESS_firstName: Joe |