chore(deps-dev): bump vite from 3.2.0 to 3.2.11 in /frontend #50
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: test_frontend | |
on: [push, pull_request] | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: "7" | |
- name: Install dependencies | |
uses: cypress-io/github-action@v5 | |
with: | |
runTests: false | |
- name: Cypress run | |
uses: cypress-io/github-action@v5 | |
with: | |
install: false | |
working-directory: frontend | |
build: pnpm -r run build | |
start: pnpm run preview | |
- name: Upload Cypress screenshots | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: frontend/cypress/screenshots | |
- name: Upload Cypress videos | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: cypress-videos | |
path: frontend/cypress/videos |