build(deps-dev): bump lint-staged from 16.2.5 to 16.2.6 (#1066) #3629
This file contains hidden or 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] | |
| permissions: | |
| contents: read | |
| jobs: | |
| cypress: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: npm | |
| node-version-file: .nvmrc | |
| - name: Cypress run | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| start: npm start | |
| wait-on: 'http://localhost:8788' | |
| - name: Record failed screenshots | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: cypress-screenshots | |
| path: cypress/screenshots | |
| - name: Record videos | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: cypress-videos | |
| path: cypress/videos |