Skip to content

[DT-1055] Pin version of NodeJS to latest LTS #3301

[DT-1055] Pin version of NodeJS to latest LTS

[DT-1055] Pin version of NodeJS to latest LTS #3301

Workflow file for this run

on: [pull_request]
name: cypress component tests
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Log Actor
run: echo "${{ github.actor }}"
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.11.0'
- 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`