Skip to content

DT-2534: Point to consent version of the ontology /search APIs #5114

DT-2534: Point to consent version of the ontology /search APIs

DT-2534: Point to consent version of the ontology /search APIs #5114

Workflow file for this run

on: [pull_request]
name: cypress component tests
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- run: echo "NODE_VERSION=$(sed -n 's/FROM node:\([0-9.]*\).*/\1/p' Dockerfile)" >> $GITHUB_ENV
- uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
- name: NPM Install
run: npm ci
- name : Cypress run component tests
uses: cypress-io/github-action@v6
with:
install: false
component: true
browser: chrome
- uses: actions/upload-artifact@v6
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`
- uses: actions/upload-artifact@v6
if: failure()
with:
name: cypress-videos
path: cypress/videos
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`