Merge PR updates: deps cleanup and Vite/vite-ssg bumps #171
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: Build | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| cypress-run: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: cypress/browsers:node16.14.0-chrome99-ff97 | |
| options: --user 1001 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 8 | |
| # Install NPM dependencies, cache them correctly | |
| # and run all Cypress tests | |
| - name: Cypress run | |
| uses: cypress-io/github-action@v6 | |
| env: | |
| CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
| with: | |
| browser: chrome | |
| wait-on: 'http://localhost:5555' | |
| wait-on-timeout: 180 | |
| record: true | |
| start: pnpm cypress:server |