Skip to content

[stable8] fix(NcRichText): do not render invalid relative markdown links #13104

[stable8] fix(NcRichText): do not render invalid relative markdown links

[stable8] fix(NcRichText): do not render invalid relative markdown links #13104

Workflow file for this run

# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Cypress
on: pull_request
concurrency:
group: cypress-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: nextcloud-vue
jobs:
cypress:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# run x copies of the current job in parallel
containers: [1, 2, 3]
name: Runner ${{ matrix.containers }}
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Read package.json
uses: nextcloud-libraries/parse-package-engines-action@122ae05d4257008180a514e1ddeb0c1b9d094bdd # v0.1.0
id: versions
- name: Set up node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ steps.versions.outputs.node-version }}
- name: Set up npm
run: npm i -g 'npm@${{ steps.versions.outputs.package-manager-version }}'
- name: Install dependencies
run: |
npm ci
- name: Cypress run
id: cypress
continue-on-error: true
run: |
npm run cypress -- --env 'split=${{ strategy.job-total }},splitIndex=${{ strategy.job-index }}'
- name: Cypress re-run
if: ${{ steps.cypress.outcome == 'failure' }}
run: |
npm run cypress -- --env 'split=${{ strategy.job-total }},splitIndex=${{ strategy.job-index }}'
- name: Upload snapshots
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: snapshots-${{ matrix.containers }}
path: cypress/snapshots