Skip to content

chore(deps): update dependency konva to v9.3.18 #654

chore(deps): update dependency konva to v9.3.18

chore(deps): update dependency konva to v9.3.18 #654

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# Copyright 2020 - 2024 Pionix GmbH and Contributors to EVerest
name: Cypress Tests
on:
pull_request:
branches:
- '*'
push:
branches:
- main
jobs:
build-and-e2e-test:
runs-on: ubuntu-latest
strategy:
matrix:
browser: ['electron', 'firefox']
steps:
- uses: actions/checkout@v4
- name: Setup node + pnpm install
uses: ./.github/actions/setup-node
with:
pnpm-version: 9
- name: Run Cypress Tests
uses: cypress-io/github-action@v6
with:
start: pnpm dlx http-server dist -p 4173
build: pnpm build
wait-on: 'http://localhost:4173' # Adjust according to your server port
wait-on-timeout: 60
command: pnpm exec cypress run --browser ${{ matrix.browser }} --headless --config baseUrl=http://localhost:4173,video=true
- uses: actions/upload-artifact@v4
if: failure()
name: Upload cypress screenshots if tests fail
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore
- uses: actions/upload-artifact@v4
if: failure()
name: Upload cypress videos if tests fail
with:
name: cypress-videos
path: cypress/videos
if-no-files-found: ignore