⬆️ Update dependencies #8
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: E2E Test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
run_install: true | |
- name: Run Cypress tests | |
uses: cypress-io/github-action@v6 | |
with: | |
build: pnpm run build | |
start: pnpm run preview | |
wait-on: 'http://localhost:4173' | |
record: true | |
browser: chrome | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |