Update README.md #14
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: Sauce-cy | |
on: push | |
jobs: | |
chrome: | |
runs-on: ubuntu-22.04 | |
name: E2E on Chrome | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# Install NPM dependencies, cache them correctly | |
# and run all Cypress tests | |
- name: Cypress run | |
uses: cypress-io/github-action@v5 # use the explicit version number | |
with: | |
# build: npm run build | |
browser: chrome | |
headed: false | |
- name: merge reports | |
run: npm run final_report | |
if: always() | |
- name: store reports directory | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: reports-directory | |
path: cypress/reports | |
- name: store final report | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: final-report | |
path: SauceCy.html | |