Skip to content

Updated github actions versions #14

Updated github actions versions

Updated github actions versions #14

Workflow file for this run

name: Run All Tests
on:
push:
branches: [master]
jobs:
Test-on-Chrome:
runs-on: ubuntu-latest
steps:
- name: Checkout GitCode
uses: actions/[email protected]
- name: Install dependencies
uses: cypress-io/[email protected]
with:
runTests: false
- name: Run Cypress Tests
uses: cypress-io/[email protected]
with:
record: true
parallel: true
command: "npm run cy:chrome:headless"
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: Upload Videos to Build Artifacts
uses: actions/[email protected]
if: always()
with:
name: cypress-videos-chrome
path: "${{ github.workspace }}/cypress/reports/videos/"
- name: Upload Screenshots to Build Artifacts
uses: actions/[email protected]
if: failure()
with:
name: cypress-screenshots-chrome
path: "${{ github.workspace }}/cypress/reports/screenshots/"
- name: Upload Mocha report to Build Artifacts
uses: actions/[email protected]
if: always()
with:
name: cypress-mocha-chrome
path: "${{ github.workspace }}/cypress/reports/html/"