Skip to content

docs: describe the Vue 3 stack in AGENTS.md #3806

docs: describe the Vue 3 stack in AGENTS.md

docs: describe the Vue 3 stack in AGENTS.md #3806

# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Cypress Component Tests
on:
pull_request:
push:
branches:
- main
- master
- stable*
concurrency:
group: cypress-component-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: tables
jobs:
component-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout app
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up node from version file
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
cache: 'npm'
cache-dependency-path: package-lock.json
node-version-file: 'package.json'
- name: Install dependencies
run: npm ci
- name: Build app
run: npm run build --if-present
- name: Run component tests
run: npm run test:component
- name: Upload test failure screenshots
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: failure()
with:
name: cypress-component-screenshots-node${{ matrix.node-version }}
path: cypress/screenshots/
retention-days: 5
- name: Upload test videos
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: failure()
with:
name: cypress-component-videos-node${{ matrix.node-version }}
path: cypress/videos/
retention-days: 5
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: component-tests
if: always()
name: cypress-component-summary
steps:
- name: Summary status
run: if ${{ needs.component-tests.result != 'success' && needs.component-tests.result != 'skipped' }}; then exit 1; fi