Skip to content

feat:#684 - Delete account #644

feat:#684 - Delete account

feat:#684 - Delete account #644

Workflow file for this run

name: Cypress End-to-End Tests
on:
pull_request:
branches: ["*"]
workflow_dispatch:
jobs:
cypress:
runs-on: ubuntu-latest
environment: Development
steps:
- name: πŸ›« Checkout
uses: actions/checkout@v3
- name: πŸ— Set up NodeJS 18.14.0
uses: actions/setup-node@v3
with:
node-version: 18.14.0
cache: 'npm'
- name: πŸ“„ Create .env file from GitHub secrets
run: |
echo VITE_FIREBASE_API_KEY=${{ secrets.VITE_FIREBASE_API_KEY }} > .env
echo VITE_FIREBASE_APP_ID=${{ secrets.VITE_FIREBASE_APP_ID }} >> .env
echo VITE_FIREBASE_AUTH_DOMAIN=${{ secrets.VITE_FIREBASE_AUTH_DOMAIN }} >> .env
echo VITE_FIREBASE_MEASUREMENTID=${{ secrets.VITE_FIREBASE_MEASUREMENTID }} >> .env
echo VITE_FIREBASE_MESSAGING_SENDER_ID=${{ secrets.VITE_FIREBASE_MESSAGING_SENDER_ID }} >> .env
echo VITE_FIREBASE_PROJECT_ID=${{ secrets.VITE_FIREBASE_PROJECT_ID }} >> .env
echo VITE_FIREBASE_STORAGE_BUCKET=${{ secrets.VITE_FIREBASE_STORAGE_BUCKET }} >> .env
echo VITE_FIREBASE_VAPID_KEY=${{ secrets.VITE_FIREBASE_VAPID_KEY }} >> .env
- name: πŸ“„ Verify .env file contents
run: cat .env
- name: πŸ’» Run Cypress
uses: cypress-io/github-action@v5
with:
start: npm run cy:test
wait-on: http://localhost:9200/
wait-on-timeout: 600
browser: chrome
headed: true
record: true
parallel: true
env:
# For recording and parallelization to work you must set your CYPRESS_RECORD_KEY
# in GitHub repo β†’ Settings β†’ Secrets β†’ Actions
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to detect new build vs re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Codecov
uses: codecov/codecov-action@v5
with:
flags: E2E
directory: ./coverage
token: ${{ secrets.CODECOV_TOKEN }}