test: add cart tests #11
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: Artifacts | |
on: push | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-22.04 | |
name: Artifacts | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cypress-io/github-action@v6 | |
# after the test run completes store videos and any screenshots | |
- uses: actions/upload-artifact@v4 | |
# add the line below to store screenshots only on failures | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots | |
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn` | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: cypress-videos | |
path: cypress/videos | |
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn` |