build(deps-dev): bump typedoc from 0.27.4 to 0.27.5 #3537
Workflow file for this run
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: 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 |