Skip to content

[DT-400-npm]: Bump the npm-dependencies group with 7 updates #3465

[DT-400-npm]: Bump the npm-dependencies group with 7 updates

[DT-400-npm]: Bump the npm-dependencies group with 7 updates #3465

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@v4
with:
persist-credentials: false
- run: echo "NODE_VERSION=$(cat Dockerfile | awk 'NR==2 {gsub(":","@",$2); print $2}' | awk '{split($0, array, "@"); print array[2]}')" >> $GITHUB_ENV
- run: echo $NODE_VERSION
- uses: actions/setup-node@v4
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@v4
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@v4
if: failure()
with:
name: cypress-videos
path: cypress/videos
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`