Upgrade Cypress to version 15 #151
Workflow file for this run
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: Run Cypress tests | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup npm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: '~/.npm' | |
| key: ${{ runner.os }}-node-24-${{ hashFiles('**/package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-24- | |
| - name: Setup Node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: '24' | |
| - name: Install dependencies | |
| run: | | |
| npm install | |
| - name: Install Cypress | |
| run: | | |
| npm run cypress:install | |
| - name: Run Cypress | |
| run: | | |
| npm test |