build(deps): bump vite from 5.2.13 to 5.3.3 in /frontend #177
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 Tests | |
on: push | |
jobs: | |
cypress-run: | |
timeout-minutes: 30 | |
runs-on: ubuntu-22.04 | |
# strategy: | |
# fail-fast: false # https://github.com/cypress-io/github-action/issues/48 | |
# matrix: | |
# containers: [1, 2, 3] # Uses parallel instances | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Frontend Dependencies | |
working-directory: frontend | |
run: npm ci | |
- name: Build Frontend | |
working-directory: frontend | |
run: npm run build:test | |
- name: Cypress Run | |
uses: cypress-io/github-action@v6 | |
with: | |
working-directory: frontend | |
build: npx cypress info | |
start: npm run start:build | |
wait-on: 'http://localhost:3000' | |
wait-on-timeout: 300 | |
record: false | |
# parallel: true # Runs test in parallel using settings above | |
env: | |
AWS_COGNITO_USERNAME: ${{ secrets.AWS_COGNITO_USERNAME }} | |
AWS_COGNITO_PASSWORD: ${{ secrets.AWS_COGNITO_PASSWORD }} | |
AWS_COGNITO_REGION: 'us-east-1' | |
AWS_COGNITO_USER_POOL_ID: 'us-east-1_apywr6kwu' | |
AWS_COGNITO_USER_POOL_WEB_CLIENT_ID: '76en8knncv8bfpfgbheua6j6k' | |
AWS_COGNITO_DOMAIN: 'user-pool-domain-dev-chess-dojo-scheduler.auth.us-east-1.amazoncognito.com' | |
- name: Save Cypress Screenshots | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: screenshots | |
path: frontend/cypress/screenshots |