Update notification template and rename generated file #247
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: Run Cypress Tests | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
jobs: | |
chrome: | |
runs-on: ubuntu-latest | |
name: E2E on Chrome | |
steps: | |
- name: Checkout 🔖 | |
uses: actions/[email protected] | |
- name: Setup Node.js 🔨 | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
- name: Execute Cypress Tests 🌡️ | |
uses: cypress-io/[email protected] | |
with: | |
working-directory: ./cypress-tests | |
command: npx cypress run --headless --browser chrome | |
- name: Upload screenshots of tests failed 📷 | |
uses: actions/[email protected] | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: cypress-tests/cypress/screenshots |