Skip to content

build(deps-dev): bump cypress from 13.16.1 to 13.17.0 #3546

build(deps-dev): bump cypress from 13.16.1 to 13.17.0

build(deps-dev): bump cypress from 13.16.1 to 13.17.0 #3546

Workflow file for this run

name: cypress
on: [push, pull_request]
concurrency:
group: ${{ github.workflow_ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
cypress:
runs-on: ubuntu-latest
strategy:
matrix:
shard: [0, 1, 2]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Split specs
id: specs
run: |
SPECS=specs
find cypress/e2e -type f -name '*.feature' > $SPECS
SPECS_COUNT=$(wc -l < $SPECS)
LINES=$(( ($SPECS_COUNT + 1) / ${{ strategy.job-total }} ))
split -d -l $LINES $SPECS spec
echo "SPECS<<EOF" >> $GITHUB_OUTPUT
cat spec0${{ matrix.shard }} >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Cypress run
uses: cypress-io/github-action@v6
with:
browser: chrome
spec: |
${{ steps.specs.outputs.SPECS }}
- name: Record failed screenshots
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- name: Record videos
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
path: cypress/videos