Skip to content

fix(deps): update minor updates #3026

fix(deps): update minor updates

fix(deps): update minor updates #3026

Workflow file for this run

name: "Tests: Cypress e2e"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "45 15 * * 4"
env:
NUXT_PUBLIC_LOAD_STORES: true
jobs:
cypress-run:
name: Running Cypress tests ✨
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache yarn dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Log environment variable
run: echo "env_var=${{ env.LOAD_STORES }}"
- name: Install dependencies and build
run: |
yarn install
yarn prod:build
- name: Start server and wait
run: |
yarn prod:start &
npx wait-on http://localhost:3000
- name: Run Cypress tests
uses: cypress-io/github-action@v6
env:
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_USERNAME: ${{ secrets.AUTH0_USERNAME }}
AUTH0_PASSWORD: ${{ secrets.AUTH0_PASSWORD }}
with:
command: yarn test:e2e:ci
- name: Upload screenshots
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots